- Configure your configuration file.
- Add exception handling block
- Add exception policy
- Add exception type
- Add exception logging handler
- Modify the trace listener by removing the default to a rolling log file
- Configure all the values
- Add reference of MABs (exception and logging) in your app as shown below
- Handle the exception…
Running the code would generate the rolling log file in your web application directory.
trivedimehulk@gmail.com
No comments:
Post a Comment