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

北城以北 提交于 2019-12-19 07:28:11

问题


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 ?


回答1:


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



来源:https://stackoverflow.com/questions/8112581/how-to-make-weblogic-log-all-console-message-into-a-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!