Hello list,

I try to customize my apache logs.

currently I have this setting:

LogFormat "%<U %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined
LogFormat "%<U %h %l %u %t \"%r\" %>s %b" common

resulting in this log format:

/iDM/iDM.php 10.0.0.98 - - [23/Aug/2017:11:20:18 +0200] "POST /iDM/iDM.php 
HTTP/1.1" 401 -
/iAPI/db 10.0.0.98 - - [23/Aug/2017:11:21:08 +0200] "GET /iAPI/db HTTP/1.1" 200 
175


What i like to have is something where only part of the URL String is prefixed 
for
every entry. Like this:


iDM: 10.0.0.98 - - [23/Aug/2017:11:20:18 +0200] "POST /iDM/iDM.php HTTP/1.1" 
401 -
iAPI: 10.0.0.98 - - [23/Aug/2017:11:21:08 +0200] "GET /iAPI/db HTTP/1.1" 200 175

is such format possible?

Best Regards,

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to