To provide robust and reliable logging of Automation Scripts, we have developed a custom logger function named zLog() to write to the Maximo log files. In Automation Scripts, this function provides advanced functionality and reliability beyond Jython print statements. Many times, print statements failed when the scripts abended. Additionally, we couldn't fully control logging for various log levels (as set in Logging and Automation script modules).
The following is the main function, zLog(), and the required imports. This is in Jython. There are also MBO specific extender functions which provide additional MBO specific logging (see below).
External link:
https://www.ibm.com/developerworks/community/forums/html/topic?id=2552664f-0646-410a-b0fb-33cd6181a474
Subscribe to:
Post Comments (Atom)
-
Problem(Abstract) Receiving errors on the Database Configuration screen when shutting down Admin Mode: BMXAA4030I - Starting to set Ad...
-
Technote (troubleshooting) Problem(Abstract) Unable to login to Maximo - receiving errors about connecting to the server has been tempor...
-
Technote (FAQ) Question How can I retry or delete a large number of messages without using the user interface to process small sets o...
No comments:
Post a Comment