From 9048fe1c50499d562dcf73094f173b12bdb084c4 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sat, 24 Sep 2005 16:13:01 +0200 Subject: [PATCH] git-daemon --syslog to log through syslog Well, this makes it even more clear that we need the packet reader and friends to use the daemon logging code. :/ Therefore, we at least indicate in the "Disconnect" log message if the child process exitted with an error code or not. Idea by Linus. Signed-off-by: Petr Baudis Signed-off-by: Junio C Hamano --- Documentation/git-daemon.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt index 250e93974..065f2aa72 100644 --- a/Documentation/git-daemon.txt +++ b/Documentation/git-daemon.txt @@ -7,7 +7,7 @@ git-daemon - A really simple server for GIT repositories. SYNOPSIS -------- -'git-daemon' [--verbose] [--inetd | --port=n] +'git-daemon' [--verbose] [--syslog] [--inetd | --port=n] DESCRIPTION ----------- @@ -32,6 +32,10 @@ OPTIONS --port:: Listen on an alternative port. +--syslog:: + Log to syslog instead of stderr. Note that this option does not imply + --verbose, thus by default only error conditions will be logged. + --verbose:: Log details about the incoming connections and requested files. -- cgit v1.2.1