Beispiel #1
0
def _create_module_log():
    import logger
    logger.log2file(module_name + ".log", logging.INFO)
    logger.log2stdout(module_name, logfmt=logger.DEFAULT_LOGFMT)
Beispiel #2
0
def _create_module_log():
    import logger
    logger.log2file(module_name + ".log", logging.DEBUG)
    logger.log2stdout(module_name)