Databases Reference
In-Depth Information
15. Type
50000
in the Rotation file size text field.
16. Make sure that the Limit number of retained files checkbox is checked.
17. Type
20
in the Files to retain text field.
18. Check the Rotate log file on startup checkbox.
19. Click on the Save button.
20. Repeat the previous steps for the
PROD_Server02
,
PROD_Server03
and
PROD_
Server04
Managed Servers and the
PROD_AdminServer
Administration Server.
21. Click on the PROD_DOMAIN link on the left-hand side navigation tree and then click
on the Logging tab.
22. Type
50000
in the Rotation file size text field.
23. Make sure that the Limit number of retained files checkbox is checked.
24. Type
20
in the Files to retain text field.
25. Check the Rotate log file on startup checkbox and click on the Save button.
26. Click on the Activate Changes button to finish.
27. Restart the entire
PROD_DOMAIN
domain.
How it works...
In production environments, predictability must be a priority when setting up WebLogic.
This configuration brings a fixed known value to the logging disk usage of the entire domain.
WebLogic Instance/DOMAIN
Server log
HTTP log
PROD_AdminServer
10 MB * 50 MB =
500 MB
10 MB * 50 MB = 500 MB
PROD_Server01
500 MB
500 MB
PROD_Server02
500 MB
500 MB
PROD_Server03
500 MB
500 MB
PROD_Server04
500 MB
500 MB
PROD_DOMAIN log
500 MB
Total
6 MB * 500 MB = 3
GB
5 MB * 500 MB = 2.5 GB
WebLogic Server does not provide an out of the box configuration to rotate the standard
output log (
$DOMAIN_HOME/servers/PROD_ServerXX/PROD_ServerXX.out
). As a
workaround,
STDOUT
and
STDERR
from the
PROD_ServerXX.out
file were redirected
to the server log and disabled. This configuration maintains the information of the
PROD_ServerXX.out
file in the
PROD_ServerXX.log
file.
Search WWH ::
Custom Search