Working With Optimization Logging
You can monitor the time cost to construct schedule optimization payloads by changing the logging level before you run Assisted Scheduling.
To monitor optimization payload construction time cost:
1. In Max Admin, on the Development Actions () launchpad menu, click Direct Execution, and then run the following code to change the logging level to INFO:
logger = org.slf4j.LoggerFactory.getLogger(com.servicemax.dc.service.optimax.OptimaxService.class)logger.setLevel(ch.qos.logback.classic.Level.valueOf('INFO'))
2. Run schedule optimization, and then run a tail log.
3. Check the tail log for results, for example:
Propose Schedule - construct payload in 2 seconds.
4. When you are done monitoring schedule optimization, on the Direct Execution page, return logging to the previous default value of WARN:
logger = org.slf4j.LoggerFactory.getLogger(com.servicemax.dc.service.optimax.OptimaxService.class)logger.setLevel(ch.qos.logback.classic.Level.valueOf('WARN'))
For more information:
Was this helpful?