summaryrefslogtreecommitdiff
path: root/git-daemon
diff options
context:
space:
mode:
authorTony Finch <dot@dotat.at>2010-03-30 20:58:52 +0000
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>2010-05-22 15:54:41 +0100
commitcb5c438e93240f2a63835b24fdd66edf9e9b31dc (patch)
treea7535d6c50496438a63e45437c2b1a9a6a1ef57c /git-daemon
parent3b32ef57ecb04c10f67ea6f424cf599aa2d07aef (diff)
downloaduserv-utils-cb5c438e93240f2a63835b24fdd66edf9e9b31dc.tar.gz
log repository location
Diffstat (limited to 'git-daemon')
-rwxr-xr-xgit-daemon/git-daemon-service.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-daemon/git-daemon-service.pl b/git-daemon/git-daemon-service.pl
index c62c9a2..19b6327 100755
--- a/git-daemon/git-daemon-service.pl
+++ b/git-daemon/git-daemon-service.pl
@@ -18,7 +18,7 @@ our ($service,$client,$dir,$repo);
${$main::{$_}} = $ENV{"USERV_U_$_"}
for grep s/^USERV_U_//, keys %ENV;
-openlog 'userv-$service', 'pid', 'daemon';
+openlog "userv-$service", 'pid', 'daemon';
sub fail { syslog 'err', "$client @_"; exit }
$_ = our $uri;
@@ -36,6 +36,7 @@ fail "bad repository in $uri"
if $check_repo and $repo !~ /^[0-9A-Za-z._-]+[.]git$/;
fail "repository not exported for $uri"
if $check_export and not -e "$dir/git-daemon-export-ok";
+syslog 'info', "$client $dir";
my @cmd = ($service, '--strict', '--timeout=30', $dir);
no warnings; # suppress errors to stderr