author | Petr Baudis <pasky@suse.cz> | |
Thu, 22 Sep 2005 09:25:28 +0000 (11:25 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Sep 2005 01:00:28 +0000 (18:00 -0700) | ||
commit | f8ff0c0641a14770a2214fffbd4271b1ea3a0d61 | |
tree | edeaf7532d3ea43dae0c3690fc165162f7a29be4 | tree | snapshot |
parent | 5cfcd07c931e6029a77f9393309f7d0ec7cdc118 | commit | diff |
[PATCH] Verbose git-daemon logging
This patch makes git-daemon --verbose log some useful things on stderr -
in particular connects, disconnects and upload requests, and in such a
way to be able to trace a particular session. Some more errors are now
also logged (even when --verbose is not passed). It is still not perfect
since messages produced by the non-daemon-specific code are obviously
not formatted properly.
[jc: With minor fix up in the log line truncation, and
use of write(2) as suggested by Linus.]
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This patch makes git-daemon --verbose log some useful things on stderr -
in particular connects, disconnects and upload requests, and in such a
way to be able to trace a particular session. Some more errors are now
also logged (even when --verbose is not passed). It is still not perfect
since messages produced by the non-daemon-specific code are obviously
not formatted properly.
[jc: With minor fix up in the log line truncation, and
use of write(2) as suggested by Linus.]
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
daemon.c | diff | blob | history |