failed connection logs: rename host to client_ip

This commit is contained in:
Nicola Murino
2019-11-11 19:53:27 +01:00
parent 2221d3307a
commit 74367a65cc
2 changed files with 3 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ func ConnectionFailedLog(user, ip, loginType, errorString string) {
logger.Debug().
Timestamp().
Str("sender", "connection_failed").
Str("host", ip).
Str("client_ip", ip).
Str("username", user).
Str("login_type", loginType).
Str("error", errorString).