mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Remove cherrypy engine log filter
This commit is contained in:
parent
a8adad7dbb
commit
a8863a5aeb
1 changed files with 0 additions and 11 deletions
|
@ -74,14 +74,6 @@ def blacklist_config(config):
|
||||||
_BLACKLIST_WORDS.update(blacklist)
|
_BLACKLIST_WORDS.update(blacklist)
|
||||||
|
|
||||||
|
|
||||||
class CherrypyEngineFilter(logging.Filter):
|
|
||||||
"""
|
|
||||||
Log filter for the Cherrypy Engine serving message
|
|
||||||
"""
|
|
||||||
def filter(self, record):
|
|
||||||
return 'ENGINE Serving on' not in record.msg
|
|
||||||
|
|
||||||
|
|
||||||
class NoThreadFilter(logging.Filter):
|
class NoThreadFilter(logging.Filter):
|
||||||
"""
|
"""
|
||||||
Log filter for the current thread
|
Log filter for the current thread
|
||||||
|
@ -352,9 +344,6 @@ def initLogger(console=False, log_dir=False, verbose=False):
|
||||||
handler.addFilter(EmailFilter())
|
handler.addFilter(EmailFilter())
|
||||||
handler.addFilter(PlexTokenFilter())
|
handler.addFilter(PlexTokenFilter())
|
||||||
|
|
||||||
for handler in cherrypy.log.error_log.handlers:
|
|
||||||
handler.addFilter(CherrypyEngineFilter())
|
|
||||||
|
|
||||||
# Install exception hooks
|
# Install exception hooks
|
||||||
initHooks()
|
initHooks()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue