HTTP logging is much essential if you are using WebLogic as web server. Enabling this can give a track who or what is trying to access your application from which IP and when.
Also you can use this feature to scrutinize the incoming requests coming to the server via external IPs. You can find the HTTP log (access.log) for any server within WebLogic domain.
Follow the below steps to configure HTTP Logging and log syntax argument
Go to this path:
Home-> Environment -> Servers
Select the server that you want to configure HTTP logging.
Go to Logging tab.
Find the sub-tab HTTP and click on that.
Go to Advanced section at the bottom of the pane. You will see the Format section.
Now click on Lock & Edit button in the Change Center at the top-left of the page. This will enable the drop down of the Format menu. Change it into Extended mode from Common format. This will help to use excess parameters to be shown within access.log.
Now you need to incorporate the necessary parameters in Extended Logging Format Details which are needed to be shown as column in access.log. There are several options you can choose from the below syntaxes, each of it will create a column with corresponding values:
No comments:
Post a Comment