summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2013-10-03 11:17:51 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2013-10-03 11:17:51 +0100
commit4cb991a303e8826da72244e0ccfb40fea376260d (patch)
treee8faa541dc85c5b3ae3d03834e4d8bdf59e200b9
parente2b5cd26956d71d80fdc2c9db3e85da98feb0f3d (diff)
downloadgitano-4cb991a303e8826da72244e0ccfb40fea376260d.tar.bz2
Also log the username and keytag in the syslog during gitano-auth
-rw-r--r--bin/gitano-auth.in6
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])