How to turn on the in-session log file for a particular user ?
With in-session logging, also known as thread-based logging, you can configure logging for an individual user so that other users are not affected by performance issues. When you configure in-session logging, you can list the logs that you want to enable. The scope is set to root loggers, such as maximo.sql and maximo.integrate. The contexts that you can enable include OSLC or REST calls, MIF web services and XML or HTTP calls, UI sessions, cron tasks, and MIF MDBs. The logs are generated in a separate file that is created under the working directory of the application. Logs must be manually purged to free up disk space.
Objective
Steps
Go to> System Configuration> Platform Configuration> Logging
Select Action > Configure Custom Logging > Thread Logger tab
Configure the context you want to work with. If you are willing to replicate an issue upon a user action, then this can be the UI Context and Set the user you want to trace the logging on.
In the lower section, set the logger and log levels you desire, ie: log4j.logger.maximo.sql
Click OK
Once everything is configured, you will see the logging information under Select Action > In Session Logs.
Reference Maximo Debugging in-session logging
No comments:
Post a Comment