Which logger do I enable to print the query in System logs of Maximo ?
#2
Posted 03 June 2012 - 07:01 PM
To log custom information, you can use the mxReportScriptContext variable
throughout your report to get the script logger.
scriptLogger = mxReportScriptContext.getReportScriptLogger();
if (scriptLogger.isDebugEnabled())
{
scriptLogger.debug("***My Debug Message ****");
}
#3
Posted 05 June 2012 - 05:14 PM
AbbyNL, on 03 June 2012 - 08:01 PM, said:
To log custom information, you can use the mxReportScriptContext variable
throughout your report to get the script logger.
scriptLogger = mxReportScriptContext.getReportScriptLogger();
if (scriptLogger.isDebugEnabled())
{
scriptLogger.debug("***My Debug Message ****");
}
Thank you so much. Will try this.






MultiQuote
