@ghost opened this Pull Request on April 15th 2014

I use the Advanced Logging module for IIS because i want to log the X-forward header in the IIS-weblog.
Our webservers are behind a Haproxy load-balancer.

Unfortunately, the log-format differs:

Regular W3C-IIS log:

Software: Microsoft Internet Information Services 7.5

Version: 1.0

Date: 2014-04-08 08:48:17

Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port

cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
time-taken
2014-04-08 11:49:08 10.123.45.67 GET /images/elements/jquery.colorbox.js -
443 - 192.168.1.1
Mozilla/5.0+(Macintosh;+Intel+Mac+OS+X+10.9;+rv:28.0)+Gecko/20100101+Firefo
x/28.0 200 0 0 44

Advanced Logging:

Software: IIS Advanced Logging Module

Version: 1.0

Start-Date: 2014-04-10 12:40:24.191

Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port

cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
time-taken
2014-04-10 12:40:24.190 - GET /Common/shop/shoppingcartAJAX.asp - 80 -
192.168.1.1 "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36" 200 0 0 2036

The user-agent field doesn't use the '+' delimiter and the 'time' field adds milliseconds.
Is it possible to add support for Advanced Logging?

This Pull Request was closed on April 15th 2014
Powered by GitHub Issue Mirror