Fix Logwatcher

This commit is contained in:
VirtuBox 2019-10-12 13:34:45 +02:00
parent 9d5072c751
commit a0cba85156
Signed by: virtubox
GPG Key ID: 22EB296C97BAD476
2 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### v3.9.x - [Unreleased]
### v3.9.9.3 - 2019-10-08
### v3.9.9.3 - [Unreleased]
#### Added
@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- `wo secure --sshport` not working with default ssh config
- Issues after APT repositories informations changed
- `www` was added to WordPress site url with subdomains [Issue #178](https://github.com/WordOps/WordOps/issues/178)
- Issuing certificate with acme.sh for sub.sub-domains not working
### v3.9.9.2 - 2019-10-04

View File

@ -1054,7 +1054,7 @@ def logwatch(self, logfiles):
import zlib
import base64
import time
from wo.core import logwatch
from wo.core.logwatch import LogWatcher
def callback(filename, lines):
for line in lines:
@ -1071,7 +1071,7 @@ def callback(filename, lines):
'caught exception rendering a new log line in %s'
% filename)
logl = logwatch.LogWatcher(logfiles, callback)
logl = LogWatcher(logfiles, callback)
logl.loop()