Centralized logging for multiple servers

Michael Shadle mike503 at gmail.com
Wed Apr 15 19:44:14 MSD 2009


On Wed, Apr 15, 2009 at 7:06 AM, Dave Cheney <dave at cheney.net> wrote:

> What about
>
> cat *.log | sort -k 4

or just

cat *whatever.log >today.log

I assume the processing script can handle out-of-order requests. but I
guess that might be an arrogant assumption. :)

I do basically the same thing igor does, but would love to simplify it
by just having Host: header counts for bytes (sent/received/total
amount of bytes used, basically) and how many http requests. Logging
just enough of that to a file and parsing it each night seems kinda
amateur...





More information about the nginx mailing list