How to make WebLogic log all "console" message into a file?

MemoryLeak picture MemoryLeak · Nov 13, 2011 · Viewed 19.5k times · Source

In Eclipse you can see all messages in console (output of System.out.println), but in WebLogic, how can I get a file which contains all these message ?

Answer

JoseK picture JoseK · Nov 14, 2011

You can do this by either modifying the startWeblogic.cmd or from the Admin console

See both options in detail at the docs

When you start the Administration Server, include the following Java option in the weblogic.Server command:

-Dweblogic.log.RedirectStdoutToServerLogEnabled=true

Or from the Admin Console