def enable_sigusr1_handler():
 enable_sig_handler('SIGUSR1', _handle_sigusr1)
 enable_sig_handler('SIGINFO', _handle_sigusr1)

def enable_sigusr1_handler ( ) : enable_sig_handler ( 'SIGUSR1' , _handle_sigusr1 ) enable_sig_handler ( 'SIGINFO' , _handle_sigusr1 )
pretty print a stack trace to the console or a debug log under /tmp when any of the salt daemons such as salt-master are sent a sigusr1 .