RLRP routing  v.0.1.0
routing_logging.py File Reference

Classes

class  routing_logging.LoggingHandler
 A thread class which performs all writing operations to the given logging instance. More...
 
class  routing_logging.LogWrapper
 Class for overriding default logging methods. More...
 

Namespaces

 routing_logging
 

Functions

def routing_logging.create_routing_log (log_name, log_hierarchy)
 Create and output a logger wrap object which will be sending the logging messages to a single log thread. More...
 
def routing_logging.init_log_thread ()
 Initialize the log thread. More...
 
def routing_logging.stop_log_thread ()
 Stop the log thread. More...
 

Variables

 routing_logging.ABSOLUTE_PATH = os.path.dirname(os.path.abspath(__file__))
 Define an absolute path to the program's directory. More...
 
string routing_logging.PATH_TO_LOGS = "/var/log/adhoc_routing/"
 Define a default path to log directory. More...
 
 routing_logging.LOG_QUEUE = Queue.Queue()
 Define a global queue for receiving the methods from the Logger objects and its arguments. More...
 
 routing_logging.LOG_LEVEL = logging.CRITICAL
 Set a global variable LOG_LEVEL according to the string variable in conf file. More...