diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2013-10-03 11:17:51 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2013-10-03 11:17:51 +0100 |
commit | 4cb991a303e8826da72244e0ccfb40fea376260d (patch) | |
tree | e8faa541dc85c5b3ae3d03834e4d8bdf59e200b9 /bin | |
parent | e2b5cd26956d71d80fdc2c9db3e85da98feb0f3d (diff) | |
download | gitano-4cb991a303e8826da72244e0ccfb40fea376260d.tar.gz |
Also log the username and keytag in the syslog during gitano-auth
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gitano-auth.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/gitano-auth.in b/bin/gitano-auth.in index 51ba85d..8a91ae3 100644 --- a/bin/gitano-auth.in +++ b/bin/gitano-auth.in @@ -93,8 +93,10 @@ local repo ip = string.match(luxio.getenv "SSH_CLIENT", "^[^ ]+") or "" -gitano.log.syslog.info("Client connected from ", ip, - " Executing command: ", cmdline) + +gitano.log.syslog.info("Client connected from", ip, "as", username, + "(" .. keytag .. ")", "Executing command:", + cmdline) local cmd = gitano.command.get(parsed_cmdline[1]) |