diff options
author | Stephen R. van den Berg <srb@cuci.nl> | 2008-08-14 20:02:20 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-17 17:43:53 -0700 |
commit | 6a992e9e1da08af3e36ab90d5f5b7ee8077630ce (patch) | |
tree | 9d72d27defac074d74e7f8bbdc46a4d3cda91353 /xdiff/xdiff.h | |
parent | git-daemon: call logerror() instead of error() (diff) | |
download | tgif-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 'xdiff/xdiff.h')
0 files changed, 0 insertions, 0 deletions