git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git daemon request logging?

From
JGJeff Garzik <jeff@garzik.org>
Date
May 15, 2009, 21:01 UTC
Message-ID
<4A0DD81C.2000709@garzik.org>
In-Reply-To
<81b0412b0905151356t7bf613d5me39af08d37f72857@mail.gmail.com>
Alex Riesen wrote:
Show 15 quoted lines
> 2009/5/15 Jeff Garzik <jeff@garzik.org>:
>> 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.

	Jeff
Previous: Alex RiesenNext: Junio C Hamano
Message 3 of 5 in “git daemon request logging?”
  1. Jeff GarzikMay 15, 2009
  2. Alex RiesenMay 15, 2009
  3. Jeff GarzikMay 15, 2009
  4. Junio C HamanoMay 15, 2009
  5. Robin H. JohnsonMay 15, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.