# To disable debug.log and write DEBUG messages to app.log when DEBUG is True: #disable_debug_log() #if DEBUG: set_app_log_level('DEBUG')