IBM Support

Maximo Asset Management default logging recommendations

Technical Blog Post


Abstract

What should be the default logging with Maximo Asset Management and how to set it?

Body

Every issue investigation requires specific loggers and some related loggers dependent on the issue at hand. While the situations might vary, this document describes what the default logging should be under normal circumstances. When a Maximo production environment is working in an ideal state without any issues, you generally do not need verbose logging as it becomes difficult to parse.

By default, it is recommended to set all loggers to ERROR level except the maximo root logger. The maximo root logger should be set to INFO level. With the maximo root logger at INFO level, you see the number of users, cron information, and memory usage on the JVM printed every minute.  This is useful information to get an idea of the load on the application server.

Here is a quick method to set the system to default logging through the database. Connect to your maximo database by using a sqltool such as SQL*Plus and run the following query:

update maxlogger set loglevel = 'ERROR';
This statement sets all loggers to ERROR level.

update maxlogger set loglevel ='INFO' where logger = 'maximo';
This statement resets the maximo root logger to INFO level.  After these changes, you need to restart the application servers for the changes to take effect.

If you do not want to restart the servers, you can also change these settings through the Logging application with Maximo. When in the Logging application, from the More Actions sidebar select "Manage Maximo Root Logger". Set the maximo root logger to INFO, then save and Apply Settings. Afterward you can then go through each logger and set them individually to ERROR level.

These settings set the Maximo environment to a logging setting that logs bare minimum in the log files and prints all error conditions.  If needed, adjust the log levels for problem analysis and then reset the logging back to the default level.

Reduced logging improves the system performance and reduces log cluttering.  Excessive logging adds some 5-10% overhead to the performance depending on how much is being logged.  Therefore, it is best to reduce logging when not needed.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11132215