From 452b178d44d44e69d31bc361477a9686b82ae14c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 29 Sep 2020 15:57:47 +0200 Subject: [PATCH] journalctl -x in fact makes everything bloated, the supposedly additional info it displays does not contains anything relevant... --- src/yunohost/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/service.py b/src/yunohost/service.py index 084df471d..cf2798954 100644 --- a/src/yunohost/service.py +++ b/src/yunohost/service.py @@ -720,7 +720,7 @@ def _get_journalctl_logs(service, number="all"): services = _get_services() systemd_service = services.get(service, {}).get("actual_systemd_service", service) try: - return subprocess.check_output("journalctl --no-hostname -xn -u {0} -n{1}".format(systemd_service, number), shell=True) + return subprocess.check_output("journalctl --no-hostname --no-pager -u {0} -n{1}".format(systemd_service, number), shell=True) except: import traceback return "error while get services logs from journalctl:\n%s" % traceback.format_exc()