Weblogic Access logs
Hello Team!
I am trying to modify the format of the access logs that are generated by Weblogic.
Here is what i did:
Under Logging->HTTP on WLS console for my managedserver, I selected "Extended" for 'Format'.
For 'Extended Logging Format Fields' I gave "cs-computername c-ip date time cs-method cs-uri sc-status sc-bytes cs(Referrer) cs(User-Agent)"
It generated log file with format:
- 10.10.10.10 2014-05-30 19:20:15 GET /testAdmin/pages/Login.xhtml 200 - - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36"
But I want the format of:
- 10.10.10.10 [22/May/2014:00:26:46 +0000] "GET /testAdmin/pages/Login.xhtml" 200 - - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36"