How to configure specific location for logs

北战南征 提交于 2019-12-12 03:44:52

问题


I have a standalone program which using ADF. In that, for log messages am using "oracle.adf.share.logging.ADFLogger".

When I deploy it to weblogic server as a web application am able to see log files under MY_DOMAIN/servers/AdminServer/logs folder.

But when I run this application as standalone program, where can I find the log files written by my application ? Can I configure custom location for log files ?


回答1:


Please take a look into logging.xml file at this location C:\Users\Sid\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93\DefaultDomain\config\fmwconfig\servers\DefaultServer on your system .

Here you can specify the path where the log file would get generated , your custom log handler and many other things .

-Sid



来源:https://stackoverflow.com/questions/31961753/how-to-configure-specific-location-for-logs

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