Improve README

This commit is contained in:
Nicola Murino 2019-11-11 18:28:18 +01:00
parent 4ff34b3e53
commit 2221d3307a

View file

@ -452,7 +452,7 @@ The logs can be divided into the following categories:
- `resp_size` integer. Size in bytes of the HTTP response
- `elapsed_ms` int64. Elapsed time, as milliseconds, to complete the request
- `request_id` string. Unique request identifier
- **"connection_failed"**, logs failed attempts to initialize a connection. A connection can fail for an authentication error or other errors such as a client abort or a time out if the login does not happen in two minutes
- **"connection failed logs"**, logs for failed attempts to initialize a connection. A connection can fail for an authentication error or other errors such as a client abort or a time out if the login does not happen in two minutes
- `sender` string. `connection_failed`
- `level` string
- `username`, string. Can be empty if the client open the connection and don't try to login
@ -460,7 +460,7 @@ The logs can be divided into the following categories:
- `login_type` string. Can be `public_key`, `password` or `no_auth_tryed`
- `error` string. Optional error description
The `connection_failed` logs can be used for better integration in tools such as [Fail2ban](http://www.fail2ban.org/)
The **connection failed logs** can be used for better integration in tools such as [Fail2ban](http://www.fail2ban.org/)
## Acknowledgements