Re: git daemon request logging?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Garzik <jeff@xxxxxxxxxx> writes:

> Alex Riesen wrote:
>> 2009/5/15 Jeff Garzik <jeff@xxxxxxxxxx>:
>>> Does the git daemon do any sort of request logging?  Could it?
>>>
>>> I was thinking it would be nice to see the amount of pulls/clones for each
>>> git.kernel.org repository.
>>
>> Does this count?
>>
>> May 15 22:54:47 tigra git[28923]: connect from 192.168.0.8 (192.168.0.8)
>> May 15 22:54:47 tigra git-daemon[28924]: Connection from 192.168.0.8:40845
>> May 15 22:54:47 tigra git-daemon[28924]: Extended attributes (11
>> bytes) exist <host=gate>
>> May 15 22:54:47 tigra git-daemon[28924]: Request upload-pack for '~raa/src/git'
>>
>> fetch(pull)/clone are the same for daemon.
>
> Honestly I was hoping for something more along the lines of httpd
> one-line request logging, as the above is a lot of data to log +
> parse.

I think there was a proposed patch to change the log format to one-line;
it was unfortunately an unilateral "we give no option to produce the old
style logs, screw people's existing log analysis scripts" patch, and I do
not think I applied it.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]