Oracle ADF Logger in 12c
Configure ADF Logger 12c
Oracle ADF 12c has very good error or exception logging mechanism.
You have to define logger for your class or package and handler using em.
Open logging.xml file stipulated at loc : <Middleware_home>/
Oracle_Home\user_projects\domains\XXX_domain\config\fmwconfig\servers\AdminServer
Add logger to this file as below,
<logger name=<class name or package name>
level='FINEST' useParentHandlers='true'>
Note: use full qualified class and package name and set appropriate
logger level
In EM, go to Log configuration for your application,
Create you handler as below,
Provide specific logger for you handler as below;
Set appropriate logger level as you defined in your logger.
Add your logger name that you have created in Logging.xml
file.
And verify you logs in file or EM.
Comments
Post a Comment