nginx logformat (awstats readable)

I converted my nginx logformat to make sure I could keep using awstats to record my datatraffic etc. Since I needed to parse half a day of logging through Apache and then later through nginx, I needed to make sure the same formats where used. In Apache I configured the common logformat; which results in the following for nginx:

log_format main ‘$remote_addr – $remote_user [$time_local] “$request” ‘
‘$status $body_bytes_sent “$http_referer” ‘
‘”$http_user_agent” “$http_x_forwarded_for”‘;

I also created a couple of include files so that standard stuff is included for every vhost, without it requiring me to denote everything (which is quite a lot if you do it properly).

Tagged with:
 

Mail chapter complete

Rene Ladan just finished the last part of the mail chapter. It’s ready for Reviewal. Rink Springer offered to have a look where possible in the near future, so with a bit of luck we can add the chapter to the official FreeBSD build soon. Thanks Rene for doing such a great job all the time (Where others did much and left, you are still here!).

Ofcourse, I am trying to keep the documentation as up to date as possible, which goes by flows. If you have more time then me and think you can contribute, please contact me, we can really use the help to get a full blown handbook translation, and possibly even translated webpages at some point.

I am doing all the work in perforce, which is publically reachable through:

http://p4web.freebsd.org/@md=d&cd=//depot/projects/docproj_nl/nl_NL.ISO8859-1/books/&c=449@//depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/?ac=83

Cheers to Rene!

Tagged with:
 
© 2003-2010 Evilcoder.org
Bear