#NEWLINE# def _dump_command_processing_info( ) : #NEWLINE# #INDENT# while True : #NEWLINE# #INDENT# gevent . sleep ( _DUMP_COMMAND_PROCESSING_INFO_INTERVAL_IN_SECONDS ) #NEWLINE# log . info ( '##### COMMAND PROCESSING INFO #####' ) #NEWLINE# paths = list ( _PATH_TO_COMMAND . keys ( ) ) #NEWLINE# paths . sort ( ) #NEWLINE# for path in paths : #NEWLINE# #INDENT# command = _PATH_TO_COMMAND . get ( path ) #NEWLINE# log . info ( '%s: %s was executed at %s' , path , str ( command ) , str ( _COMMAND_TO_NOTIFICATION_TIME . get ( path ) ) ) #NEWLINE# #UNINDENT# log . info ( '############## DONE ###############' )