Enhances current logger. Now subclasses and modules are also indicated

This commit is contained in:
2012-08-31 12:04:05 +02:00
parent 62df9875dc
commit 98bb3db2bb
5 changed files with 53 additions and 54 deletions

View File

@@ -43,7 +43,7 @@ class FaceMovie(object, Observable, Observer):
Observer.__init__(self, "Lib") # used to receive notification to stop
self.console_logger = logging.getLogger('ConsoleLog') # Used to send messages to the console
self.my_logger = logging.getLogger('FileLog') # Used to save events into a file
self.my_logger = logging.getLogger('IvolutionFile.Lib') # Used to save events into a file
self.source = face_params.input_folder # Source folder for pictures
# Retrieving parameters for Face Detection