Move log file .out from default location to custom location in weblogic 12c?

I want to move the Node manager *.out

log file to my own custom location.

Thanks in advance.

+3


source to share


2 answers


*.out

By passing the following arguments to the Weblogic console, I was able to change the default location of the nodemanager log .

-Dweblogic.Stderr=/usr/local/Weblogic12c/logs/error/servererror.out

      




Add options -Dweblogic.Stdout=<outfile>

and -Dweblogic.Stderr=<errorfile>

to move all logs to a separate location.

+3


source


In addition to changing the location of the file, you can also redirect more output to the server-specific standard .log file.

Something similar to command line parameters -Dweblogic.Stdout=<outfile> and -Dweblogic.Stderr=<errorfile>

is to log into the weblogic console and do the following for each server:



Servers -> <server name> -> Logging Tab advanced section -> 
Check both "Redirect stdout logging enabled" and "Redirect stderr logging enabled"

      

Unfortunately it doesn't help that .out files grow in size without rotation. See this link for information on how you can rotate .out files yourself.

0


source







All Articles