projects
/
ganeti-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'devel-2.4'
[ganeti-github.git]
/
lib
/
utils
/
log.py
diff --git
a/lib/utils/log.py
b/lib/utils/log.py
index
2ddd0f9
..
1cc6d82
100644
(file)
--- a/
lib/utils/log.py
+++ b/
lib/utils/log.py
@@
-70,6
+70,9
@@
class _ReopenableLogHandler(logging.handlers.BaseRotatingHandler):
# TODO: Handle errors?
self.stream = open(self.baseFilename, "a")
+ # Don't reopen on the next message
+ self._reopen = False
+
def RequestReopen(self):
"""Register a request to reopen the file.