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