summaryrefslogtreecommitdiff
path: root/test-date.c
diff options
context:
space:
mode:
authorLibravatar Stephen R. van den Berg <srb@cuci.nl>2008-08-14 20:02:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-08-17 17:43:53 -0700
commit6a992e9e1da08af3e36ab90d5f5b7ee8077630ce (patch)
tree9d72d27defac074d74e7f8bbdc46a4d3cda91353 /test-date.c
parentgit-daemon: call logerror() instead of error() (diff)
downloadtgif-6a992e9e1da08af3e36ab90d5f5b7ee8077630ce.tar.xz
git-daemon: use LOG_PID, simplify logging code
Make git-daemon use LOG_PID like most daemons, instead of prepending the pid to the message ourselves, when using syslog(3). Simplify the logging code by setting stderr to line buffered, instead of building a single string and writing it out with a single write(2). Give an extra log message at the daemon start-up. Signed-off-by: Stephen R. van den Berg <srb@cuci.nl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-date.c')
0 files changed, 0 insertions, 0 deletions