Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
init logging engine

src/g/m/gmvault-HEAD/src/gmv/gmv_cmd.py   gmvault(Download)
    """       
    #setup application logs: one handler for stdout and one for a log file
    log_utils.LoggerFactory.setup_cli_app_handler(log_utils.STANDALONE, activate_log_file=False, file_path="./gmvault.log") 
 
def activate_debug_mode():
    """
       Activate debugging logging
    """
    LOG.critical("Debugging logs are going to be saved in file %s/gmvault.log.\n" % os.getenv("HOME","."))
    log_utils.LoggerFactory.setup_cli_app_handler(log_utils.STANDALONE, activate_log_file=True, \

src/g/m/gmvault-1.8.1-beta/src/gmv/gmv_cmd.py   gmvault(Download)
    """       
    #setup application logs: one handler for stdout and one for a log file
    log_utils.LoggerFactory.setup_cli_app_handler(log_utils.STANDALONE, activate_log_file=False, file_path="./gmvault.log") 
 
def activate_debug_mode():
    """
       Activate debugging logging
    """
    LOG.critical("Debugging logs are going to be saved in file %s/gmvault.log.\n" % os.getenv("HOME","."))
    log_utils.LoggerFactory.setup_cli_app_handler(log_utils.STANDALONE, activate_log_file=True, \

src/g/m/gmvault-HEAD/src/sandbox_tests.py   gmvault(Download)
 
        import gmv.log_utils as log_utils
        log_utils.LoggerFactory.setup_cli_app_handler('./gmv.log') 
 
        LOG = log_utils.LoggerFactory.get_logger('gmv') #pylint:disable-msg=C0103
        #gmv_cmd.init_logging()
        import gmv.log_utils as log_utils
        log_utils.LoggerFactory.setup_cli_app_handler(activate_log_file=True, file_path="/tmp/gmvault.log") 
        LOG = log_utils.LoggerFactory.get_logger('gmv')
        LOG.critical("This is critical")