Fix Logwatcher
This commit is contained in:
@@ -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.x - [Unreleased]
|
||||||
|
|
||||||
### v3.9.9.3 - 2019-10-08
|
### v3.9.9.3 - [Unreleased]
|
||||||
|
|
||||||
#### Added
|
#### 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
|
- `wo secure --sshport` not working with default ssh config
|
||||||
- Issues after APT repositories informations changed
|
- Issues after APT repositories informations changed
|
||||||
- `www` was added to WordPress site url with subdomains [Issue #178](https://github.com/WordOps/WordOps/issues/178)
|
- `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
|
### v3.9.9.2 - 2019-10-04
|
||||||
|
|
||||||
|
|||||||
@@ -1054,7 +1054,7 @@ def logwatch(self, logfiles):
|
|||||||
import zlib
|
import zlib
|
||||||
import base64
|
import base64
|
||||||
import time
|
import time
|
||||||
from wo.core import logwatch
|
from wo.core.logwatch import LogWatcher
|
||||||
|
|
||||||
def callback(filename, lines):
|
def callback(filename, lines):
|
||||||
for line in lines:
|
for line in lines:
|
||||||
@@ -1071,7 +1071,7 @@ def logwatch(self, logfiles):
|
|||||||
'caught exception rendering a new log line in %s'
|
'caught exception rendering a new log line in %s'
|
||||||
% filename)
|
% filename)
|
||||||
|
|
||||||
logl = logwatch.LogWatcher(logfiles, callback)
|
logl = LogWatcher(logfiles, callback)
|
||||||
logl.loop()
|
logl.loop()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user