Oracle Weblogic Server (MOSC)

MOSC Banner

Weblogic Access logs

edited Jun 2, 2014 2:54PM in Oracle Weblogic Server (MOSC) 2 commentsAnswered

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"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center