Classes | Namespaces | Functions | Variables
logging_config.py File Reference

Go to the source code of this file.

Classes

class  multi_interface_roam.logging_config.LoggerStream
class  multi_interface_roam.logging_config.MyFormatter

Namespaces

namespace  multi_interface_roam::logging_config

Functions

def multi_interface_roam::logging_config.get_logger_stream
def multi_interface_roam::logging_config.get_logger_stream_for_file
def multi_interface_roam::logging_config.make_logger_file

Variables

tuple multi_interface_roam::logging_config.all_logger = logging.getLogger('')
tuple multi_interface_roam::logging_config.all_logger_formatter = MyFormatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
tuple multi_interface_roam::logging_config.all_logger_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'all.log'), when='midnight', backupCount=logfilecount)
tuple multi_interface_roam::logging_config.console_file_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'console-output.log'), when='midnight', backupCount=logfilecount)
tuple multi_interface_roam::logging_config.console_formatter = MyFormatter('%(message)s')
tuple multi_interface_roam::logging_config.console_handler = logging.StreamHandler(sys.stdout)
tuple multi_interface_roam::logging_config.console_logger = logging.getLogger('console')
string multi_interface_roam::logging_config.datefmt = "%c %s"
tuple multi_interface_roam::logging_config.file_formatter = MyFormatter('%(asctime)s - %(levelname)s - %(message)s', datefmt=datefmt)
string multi_interface_roam::logging_config.logdir = '/var/log/roam'
int multi_interface_roam::logging_config.logfilecount = 10


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Thu Jan 2 2014 11:26:15