How to force WebLogic to write all "console" messages to a file?

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

+6
source share
1 answer

You can do this by changing startWeblogic.cmd or from the admin console

See both options in detail in the docs

When starting the Administration Server, include the following Java command in the weblogic.Server command:

-Dweblogic.log.RedirectStdoutToServerLogEnabled=true

Or from Admin Console

+11
source

Source: https://habr.com/ru/post/901384/


All Articles