logs: use info level for login related messages

so enabling debug level is not required, for example only to understand
that a user exceeded the allowed sessions.

Also set the cache update frequency as documented
This commit is contained in:
Nicola Murino
2021-12-02 19:36:42 +01:00
parent 6ee51c5cc1
commit 6092b6628e
7 changed files with 29 additions and 22 deletions

View File

@@ -85,7 +85,7 @@ func processSSHCommand(payload []byte, connection *Connection, enabledSSHCommand
}
}
err := connection.CloseFS()
connection.Log(logger.LevelDebug, "unable to unmarshal ssh command, close fs, err: %v", err)
connection.Log(logger.LevelWarn, "unable to unmarshal ssh command, close fs, err: %v", err)
return false
}