Browse Source

Downgrade log rotation detection message to DEBUG level from INFO. Closes: gh-129

This message useful only when debugging problems so it is more reasonable
to have it suppressed otherwise
pull/82/merge
Yaroslav Halchenko 12 years ago
parent
commit
59c35bc44a
  1. 2
      server/filter.py

2
server/filter.py

@ -550,7 +550,7 @@ class FileContainer:
stats = os.fstat(self.__handler.fileno())
# Compare hash and inode
if self.__hash != myHash or self.__ino != stats.st_ino:
logSys.info("Log rotation detected for %s" % self.__filename)
logSys.debug("Log rotation detected for %s" % self.__filename)
self.__hash = myHash
self.__ino = stats.st_ino
self.__pos = 0

Loading…
Cancel
Save