From a0cba851561204433e199c858138cb86fc6b73f8 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Sat, 12 Oct 2019 13:34:45 +0200 Subject: [PATCH] Fix Logwatcher --- CHANGELOG.md | 3 ++- wo/cli/plugins/site_functions.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3c6783..42adbe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index 6edab35..4251c7a 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -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 logwatch(self, logfiles): 'caught exception rendering a new log line in %s' % filename) - logl = logwatch.LogWatcher(logfiles, callback) + logl = LogWatcher(logfiles, callback) logl.loop()