Classes | Functions | Variables
multi_interface_roam::logging_config Namespace Reference

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

Function Documentation

def multi_interface_roam.logging_config.get_logger_stream (   name,
  level = logging.DEBUG 
)

Definition at line 71 of file logging_config.py.

def multi_interface_roam.logging_config.get_logger_stream_for_file (   name,
  level = logging.DEBUG 
)

Definition at line 83 of file logging_config.py.

def multi_interface_roam.logging_config.make_logger_file (   name,
  level = logging.DEBUG 
)

Definition at line 76 of file logging_config.py.


Variable Documentation

tuple multi_interface_roam::logging_config::all_logger = logging.getLogger('')

Definition at line 47 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 49 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 48 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 63 of file logging_config.py.

Definition at line 59 of file logging_config.py.

tuple multi_interface_roam::logging_config::console_handler = logging.StreamHandler(sys.stdout)

Definition at line 57 of file logging_config.py.

tuple multi_interface_roam::logging_config::console_logger = logging.getLogger('console')

Definition at line 54 of file logging_config.py.

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.

Definition at line 7 of file logging_config.py.

Definition at line 8 of file logging_config.py.



multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Wed Sep 16 2015 04:38:27