From 6e471f1224b1c357c86b0aa70d5e51e19eb6ffe2 Mon Sep 17 00:00:00 2001 From: Miroslav Rezanina Date: Thu, 31 May 2018 19:46:53 +0200 Subject: remove 'tee' command from logging configuration the default logging configuration passes all cloud-init output through 'tee' in order to generate /var/log/cloud-init-output.log. This is redundant on modern systems, since stdout/stderr are captured by systemd and available via journalctl. Resolves: rhbz#1424612 X-downstream-only: true Signed-off-by: Ryan McCabe --- config/cloud.cfg.d/05_logging.cfg | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config/cloud.cfg.d/05_logging.cfg b/config/cloud.cfg.d/05_logging.cfg index 937b07f..4be8866 100644 --- a/config/cloud.cfg.d/05_logging.cfg +++ b/config/cloud.cfg.d/05_logging.cfg @@ -64,8 +64,3 @@ log_cfgs: - [ *log_base, *log_file ] # A file path can also be used. # - /etc/log.conf - -# This tells cloud-init to redirect its stdout and stderr to -# 'tee -a /var/log/cloud-init-output.log' so the user can see output -# there without needing to look on the console. -output: {all: '| tee -a /var/log/cloud-init-output.log'} -- 1.8.3.1