$search

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 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.


Variable Documentation

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.

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.

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Fri Mar 1 16:01:35 2013