Weblogic 12c: How to rotate servername.out file

Aromal picture Aromal · Feb 9, 2017 · Viewed 7.9k times · Source

How to configure rotation for servername.out files? We have a configuration in admin console to rotate servername.log file, but there is no configuration to rotate the servername.out files.

Answer

radimpe picture radimpe · Feb 14, 2017

There isn't any option in Weblogic to rotate the stdout file by default. What you may be able to do is force the stdout values into the regular logfile for which you can setup rotation strategies. Add the following to your startup parameters

-Dweblogic.log.RedirectStdoutToServerLogEnabled=true

Documented here.