Databases Reference
In-Depth Information
In most cases, the performance should suffice if the environment is very stable, with
predictable behavior and common bottlenecks removed.
Limiting the log disk usage
WebLogic Server 12 c fixes a file size limit of 5 MB for the domain, server, and HTTP logs.
It also sets 100 as the maximum number of rotated files for the domain and server logs.
The HTTP access.log file does not have a default limit of rotated files. This is the default
configuration for WebLogic Server 12 c domains running in the production mode.
In this recipe, the logging subsystem will be configured, so that all the PROD_DOMAIN domain
logfiles usage never surpasses a known disk size usage.
Getting ready
The logging subsystem is configured by using the Administration Console, so make sure the
Administration Server is running.
How to do it...
Carry out the following steps to limit the log disk usage:
1. Access the Administration Console with your web browser at http://adminhost.
domain.local:7001/console .
2. Click on the Lock & Edit button to start a new edit session.
3. Expand the Environment tree to the left and then click on Servers.
4. Click on the PROD_Server01 link. Click on the Logging tab and then click on the
General tab.
5. Type 50000 in the Rotation file size text field.
6. Make sure that the Limit number of retained files checkbox is checked.
7. Type 20 in the Files to retain text field.
8. Check the Rotate log file on startup checkbox.
9. Click on the Save button and then click on the Advanced link to open the
advanced options.
10. Check the Redirect stdout logging enabled checkbox.
11. Check the Redirect stderr logging enabled checkbox.
12. Change the Severity Level of the Standard out drop-down menu to Off.
13. Click on the Save button.
14. Click on the HTTP tab.
 
Search WWH ::




Custom Search