This content has been marked as final. Show 3 replies
Use the Oracle Enterprise Manager for your log management. Don't manipulate the file itself. Click on your oim server, or right click, then select Logs --> Log Configuration. Here you can specific new log files, and set output to them as well. All changes are immediate and don't require restarts.
Thanks for reply....
As suggested, logged in em console -> oim_server1 -> logs -> Log Configuraion -> Log Files -> Create new log file
Here I should give some logger, which will populate AD log file with "AD logs only". I was asking for this logger previously.
If my method is wrong, please suggest me the correct method to configure AD log files and could u give some more details how to configure log file for Active Directory connector and should contain only AD logs.
Also, In my case, created a custom prepopulate adapter and it has logger statements in it. I am able to see logger statements in oim_server1-diagnostic.log file (default oim log file).
After that I created a custom process task adapter and attached it CREATE USER process task. Am not able to logger statements written in custom process task adapter. I wanted to test whether, the process task and process task adapter are being invoked. So, wanted to populate log file with all AD events including process task, process task adapter logs.
Thanks in advance
When a logger is used at any point, the application server will know about it. If you expand the Root logger from the log configuration screen you can expand all the nodes and see which loggers have been used, or you can just search for OIMCP (case sensitive) and it will output any loggers that contain what you searched for. Then you can add any you want to your custom logger. It will also output the same level to the diagnostic logger.