Timefold Solver is an AI constraint solver for Python to optimize the Vehicle Routing Problem, Employee Rostering, Maintenance Scheduling, Task Assignment, School Timetabling, Cloud Optimization, Conference Scheduling, Job Shop Scheduling, Bin Packing and many more planning problems.
This allows Python to configure their own appenders in Python (and use the standard Python appenders), abeit at a performance penalty. However, since DEBUG and lower should not be used when performance is required, log messages are produced only when solving started/ended, which is infrequent.
Since the log level of the parent logger may change (and thus affect the log level of the Timefold logger), we need to update the log level whenever a solve occurs.
This allows Python to configure their own appenders in Python (and use the standard Python appenders), abeit at a performance penalty. However, since DEBUG and lower should not be used when performance is required, log messages are produced only when solving started/ended, which is infrequent.
Since the log level of the parent logger may change (and thus affect the log level of the Timefold logger), we need to update the log level whenever a
solve
occurs.