$search
Classes | |
class | LoggerStream |
class | MyFormatter |
Functions | |
def | get_logger_stream |
def | get_logger_stream_for_file |
def | make_logger_file |
Variables | |
tuple | all_logger = logging.getLogger('') |
tuple | all_logger_formatter = MyFormatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') |
tuple | all_logger_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'all.log'), when='midnight', backupCount=logfilecount) |
tuple | console_file_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'console-output.log'), when='midnight', backupCount=logfilecount) |
tuple | console_formatter = MyFormatter('%(message)s') |
tuple | console_handler = logging.StreamHandler(sys.stdout) |
tuple | console_logger = logging.getLogger('console') |
string | datefmt = "%c %s" |
tuple | file_formatter = MyFormatter('%(asctime)s - %(levelname)s - %(message)s', datefmt=datefmt) |
string | logdir = '/var/log/roam' |
int | logfilecount = 10 |
def multi_interface_roam::logging_config::get_logger_stream | ( | name, | ||
level = logging.DEBUG | ||||
) |
Definition at line 66 of file logging_config.py.
def multi_interface_roam::logging_config::get_logger_stream_for_file | ( | name, | ||
level = logging.DEBUG | ||||
) |
Definition at line 78 of file logging_config.py.
def multi_interface_roam::logging_config::make_logger_file | ( | name, | ||
level = logging.DEBUG | ||||
) |
Definition at line 71 of file logging_config.py.
tuple multi_interface_roam::logging_config::all_logger = logging.getLogger('') |
Definition at line 42 of file logging_config.py.
tuple multi_interface_roam::logging_config::all_logger_formatter = MyFormatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') |
Definition at line 44 of file logging_config.py.
tuple multi_interface_roam::logging_config::all_logger_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'all.log'), when='midnight', backupCount=logfilecount) |
Definition at line 43 of file logging_config.py.
tuple multi_interface_roam::logging_config::console_file_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'console-output.log'), when='midnight', backupCount=logfilecount) |
Definition at line 58 of file logging_config.py.
tuple multi_interface_roam::logging_config::console_formatter = MyFormatter('%(message)s') |
Definition at line 54 of file logging_config.py.
tuple multi_interface_roam::logging_config::console_handler = logging.StreamHandler(sys.stdout) |
Definition at line 52 of file logging_config.py.
tuple multi_interface_roam::logging_config::console_logger = logging.getLogger('console') |
Definition at line 49 of file logging_config.py.
string multi_interface_roam::logging_config::datefmt = "%c %s" |
Definition at line 9 of file logging_config.py.
tuple multi_interface_roam::logging_config::file_formatter = MyFormatter('%(asctime)s - %(levelname)s - %(message)s', datefmt=datefmt) |
Definition at line 19 of file logging_config.py.
string multi_interface_roam::logging_config::logdir = '/var/log/roam' |
Definition at line 7 of file logging_config.py.
Definition at line 8 of file logging_config.py.