Tips
1. To prevent restarting a respective server if the log file grows too large, enable log rotation.
2. Consider rotating the log file by size, rather than by time in production, because, with the time in production option, the file can grow large very quickly.
3. If you are not debugging interactively and the WebLogic Server is started in the background (Windows or Unix), use these commands to redirect stdout and stderr messages to a file:
- -Dweblogic.Stdout="stdout-filename"
- -Dweblogic.Stderr="stderr-filename"
5. When using node managers to start managed servers, the node manager captures and stores the server's stdout to a file. The Administration Console can be used to view the contents of that file.
6. Audit the WebLogic Server log file frequently, to become familiar with normal operation, so that you can readily identify abnormal log entries.
1 comment:
What is the command line argument to rotate these logs?
Post a Comment