I’ve written a design on converting the scheduler’s current log_filter into a more PBS compliant log_events.
There are two reasons behind doing this change. The first is to have a unified way of determining which events are logged for all daemons. The second is to help speed up the scheduler (and other daemons) by avoiding unnecessary string manipulation. A new liblog logging function will be introduced which is a combination of log_event() and sprintf(). When someone calls this new function, the function will first determine if we need to log that event before formatting and logging the string.
Please provide comments