Commit e343f5f2 authored by Dan Pascu's avatar Dan Pascu

Fixed MSRP library logging

parent 69829d6e
...@@ -230,7 +230,7 @@ class LogManager(object): ...@@ -230,7 +230,7 @@ class LogManager(object):
return return
if notification.data.level < self.msrp_level: if notification.data.level < self.msrp_level:
return return
message = '%s%s' % (notification.data.level.prefix, notification.data.message) message = '%s %s' % (notification.data.level, notification.data.message)
try: try:
self.msrptrace_file.write('%s [%s %d]: %s\n' % (notification.datetime, self.name, self.pid, message)) self.msrptrace_file.write('%s [%s %d]: %s\n' % (notification.datetime, self.name, self.pid, message))
self.msrptrace_file.flush() self.msrptrace_file.flush()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment