id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 2666,Add idle debug level,derek@…,Janne Grunau,"When the backend detects it's idle and is ready to shutdown it posts a debug message saying so along with a countdown every 10 seconds. I have a pre-shutdown check script that runs and prevents the shutdown between 2-5am daily as I have scheduled activities during this time (db backup, mfdb run, transcoding jobs, etc.). So when the shutdown is prevented it resets the idle timer, which starts the countdown over and continuously fills the log with these countdown messages. The attached patch creates a new debug level called 'VB_IDLE' and filters the countdown messages to this debug level and adds some new debug messages as well. This reduces the redundant debug messages from filling up my logs every night and only writes the log messages when explicitly asked for (usually in a debug situation). The initial message is left at a VB_IMPORTANT level, the rest (along with the new debug messages I added) are moved to VB_IDLE.",patch,closed,minor,0.21,mythtv,head,medium,fixed,,,0