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