Blame SOURCES/0004-remove-tee-command-from-logging-configuration.patch

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