summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2013-10-02 18:41:32 +0100
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2013-10-02 18:41:32 +0100
commit400b5951ffebc669cccc6081442a2742587a0bfe (patch)
treefa6f34e38f24e884b6c66a814702b596b49f581e
parentc5a1020395aee1214285218e3d8343ff9876bd73 (diff)
downloadgitano-400b5951ffebc669cccc6081442a2742587a0bfe.tar.gz
Add syslogging to gitano-update-ssh
-rw-r--r--bin/gitano-update-ssh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/gitano-update-ssh.in b/bin/gitano-update-ssh.in
index ecf51a9..798296f 100644
--- a/bin/gitano-update-ssh.in
+++ b/bin/gitano-update-ssh.in
@@ -23,6 +23,7 @@ local repo_root = ...
gitano.config.repo_path(repo_root)
gitano.log.bump_level(gitano.log.level.CHAT)
+gitano.log.syslog.open()
-- Now load the administration data
@@ -49,4 +50,6 @@ end
gitano.config.writessh(config)
+gitano.log.syslog.close()
+
return 0