How to configure specific location for logs

2019-09-11 09:26发布

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条回答
神经病院院长
2楼-- · 2019-09-11 09:36

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

查看更多
登录 后发表回答