Correct spelling of logger for dispatcher.file

Closes-Bug: #1272176
Change-Id: Ia4d700869829142bd3b9e136b8a735756b92ea94
This commit is contained in:
Rob Raymond 2014-01-23 23:06:27 -07:00
parent 447573f8c9
commit 971f1f0dc8

View File

@ -62,7 +62,7 @@ class FileDispatcher(dispatcher.Base):
# if the directory and path are configured, then log to the file
if self.conf.dispatcher_file.file_path:
dispatcher_logger = logging.Logger('dispather.file')
dispatcher_logger = logging.Logger('dispatcher.file')
dispatcher_logger.setLevel(logging.INFO)
# create rotating file handler which logs meters
rfh = logging.handlers.RotatingFileHandler(