From: Johannes Schindelin Date: Sun, 11 May 2008 18:03:42 GMT Subject: Re: [PATCH] git-daemon: fix for rotating logs Message-ID: In-Reply-To: Hi, On Mon, 28 Apr 2008, Johannes Schindelin wrote: > With rotating logs, there is a problem when the syslog is opened only > once (in the beginning). So open the log everytime we write something, > and close it directly after writing. Actually, the culprit were _not_ rotating logs. At least not really. syslog() is not supposed to be called from a signal handler. In git-daemon, it is, from child_handler(), but only when called with --verbose (and --syslog, or --detach). Bummer. Sorry for my wrong analysis, Dscho