mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
failed connection logs: rename host to client_ip
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user