ProtectedapiAPI base path (e.g., '/maximo/api')
ProtectedloggerProtectedhttpThe HTTP client for making requests
Returns the current logger used by this service instance.
ProtectedformatOptionalproperties: string | string[]ProtectedhandleError handler
the error to process
Get the list of available log appenders on the server Calls /service/logging?action=wsmethod:getAppenderList
Promise resolving to array of appender objects
Get the list of available loggers/categories on the server Calls /service/logging?action=wsmethod:getLoggerList
Promise resolving to array of logger objects
Get the root folder for logs from Maximo Calls /service/logging?action=wsmethod:getRootFolder
Promise resolving to the root folder string (e.g. "/opt/logs")
Upload logs from Maximo Manage UI, Cron, Maximo Enterprise Adapter, or Report pods to S3 Cloud Object Storage HTTP Method: POST Signature Option: GETLOG API Request Type: Asynchronous
Promise resolving to the upload result containing the LOGREQUESTNUM from LOGREQUEST table e.g. {"return":"1002-1767713985445"} 1002 is the LOGREQUESTNUM 1767713985445 is the REQUESTTS (The timestamp when the request was made in epoch time)
Stream logs from Maximo Manage pods. If the 'lines' parameter is provided, it retrieves the full log and then returns only the last N lines.
Optionallines: numberOptional. The number of recent lines to retrieve from the log.
A promise that resolves with the log data.
Get current log level
log key for getting specific log levels
Promise resolving to current log levels
Disable all logs in thread logging for the current user
Promise resolving to the action result
Disable all logs in thread logging for the current user
Promise resolving to the action result
Enable logs for the provided logKey array
Array of logKey strings (e.g. ["maximo.sql.crontaskmgr"])
Promise resolving to true if successful (HTTP 200)
Set a specific logger's level
Logger/category name
Log level (DEBUG, ERROR, INFO, WARN, FATAL)
Promise resolving to the action result
Executes an action on an arbitrary endpoint Useful for service endpoints that don't follow the standard resource/ID pattern Supports both GET and POST methods based on payload presence
The endpoint to call the action on (e.g., 'service/logging')
The name of the action to execute (e.g., 'wsmethod:streamLog')
Optionalpayload: anyOptional payload data for the action (if provided, uses POST, otherwise GET)
OptionalreturnProperties: string | string[]Optional properties to return in the response
A promise resolving to a response object containing success status and optional data
Service for Maximo log management operations Implements endpoints from the Logging section of Maximo REST API