diff options
Diffstat (limited to 'Mailman/Logging/StampedLogger.py')
| -rw-r--r-- | Mailman/Logging/StampedLogger.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Logging/StampedLogger.py b/Mailman/Logging/StampedLogger.py index 7c3654900..88b748a61 100644 --- a/Mailman/Logging/StampedLogger.py +++ b/Mailman/Logging/StampedLogger.py @@ -63,11 +63,11 @@ class StampedLogger(Logger): else: stamp = "" if self.__label == None: - label = "" + label = "(%d)" % os.getpid() else: - label = "%s:" % self.__label + label = "%s(%d):" % (os.getpid(), self.__label) prefix = stamp + label - Logger.write(self, "%s(%d) %s" % (prefix, os.getpid(), msg)) + Logger.write(self, "%s %s" % (prefix, msg)) if msg and msg[-1] == '\n': self.__bol = 1 else: |
