#NEWLINE# def _application_info_dump_signal_handler( self , sig , frame ) : #NEWLINE# #INDENT# '\n        A signal handler that will dump application info to the logs.\n\n        :param sig: Signal number of the received signal\n        :type sig: int\n        :param frame: The interrupted stack frame\n        :type frame: frame\n        ' #NEWLINE# self . _logger . info ( '{} signal received. Dumping application info.' , self . _signal_names [ sig ] ) #NEWLINE# app_info_string = app_info . get_app_info_string ( ) #NEWLINE# self . _logger . notice ( app_info_string ) #NEWLINE# with open ( self . _SIGINFO_DEBUG_LOG , 'a' ) as f : #NEWLINE# #INDENT# f . write ( '{}\n' . format ( app_info_string ) )