Enabling Debug logs:
Let's start the process:1) Log in to weblogic console: httpd://<host:port>/console
2) Select Environment option under Domain Structure:
- Select Servers option:
3) Select oam_server1: As we need to enable the debug log for a specific component.
- Select 'Debug' tab
4) Select the 'weblogic' & expand its view.
5) Select the component/s for which you want to enable the logging.
- Click 'Enable' to apply changes.
Note:
- Remember, it is possible that you might require to first select "Lock & Edit" option on top left of the screen. And than you need to "Activate Changes". So that it starts reflecting.
6) Now for the selected component you will start getting logging trace. You can view the logs for the same under:
- Log File Path: <Middleware_Home>/user_projects/domains/<domain_name>/servers/oam_server1/logs/
- File Name:
- oam_server1.log
- oam_server1-diagnostic.log
You are good to go.... Enjoy Debugging.....
Enjoy:-)
No comments:
Post a Comment