weblogic access log

发布时间 2023-06-06 13:17:36作者: zno2

https://docs.oracle.com/cd/E40518_01/server.761/es_admin/src/tadm_logging_access_log.html

内容举例:

129.184.13.19 - - [06/Jan/2017:18:24:14 +0330] "POST /about.action?type=project HTTP/1.1" 200 386
129.184.13.16 - - [06/Jan/2017:18:25:17 +0330] "GET /flexform2/logineris/form2login.jsp HTTP/1.1" 200 3742

 

作用:

可以查看访问来源及对什么感兴趣

 

位置:

To customize the HTTP access log:

  1. Log into the Administration Server console.
  2. In the Change Center of the Administration Console, click Lock & Edit.
  3. In the left pane of the Console, expand Environment and select Servers.
  4. In the Servers table, click the AdminServer name.
  5. In the Settings for AdminServer page, select Logging HTTP.
  6. On the Logging > HTTP page, make sure that the HTTP access log file enabled checkbox is checked.
  7. Click Advanced.
  8. In the Advanced pane:
    1. In the Format list box, select Extended.
    2. In the Extended Logging Format Fields, enter this space-delimited string:
      date time time-taken cs-method cs-uri sc-status
  9. Click Save.
  10. In the Change Center of the Administration Console, click Activate Changes.
  11. Stop and then re-start WebLogic Server.