s %b %T %H %{Host}i %{User-Agent}i %{Cookie}i %{Referer}i" iis" />

Make Apache logs mimic IIS

To make Apache write logs similar to IIS, toss this into your Apache configuration:

LogFormat "%{%Y-%m-%d %H:%M:%S}t %h %u %m %U %q %>s %b %T %H %{Host}i
%{User-Agent}i %{Cookie}i %{Referer}i" iis

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/01/29/make-apache-logs-mimic-iis/ .
© Major Hayden 2010.

Leave a Reply