sailesh1993 / rpms / cloud-init

Forked from rpms/cloud-init a year ago
Clone
20a859
From daa38854c690f4523d0665785180a5a62431eba7 Mon Sep 17 00:00:00 2001
20a859
From: Lars Kellogg-Stedman <lars@redhat.com>
20a859
Date: Fri, 7 Apr 2017 19:09:13 -0400
20a859
Subject: [PATCH] remove 'tee' command from logging configuration
20a859
20a859
the default logging configuration passes all cloud-init output through
20a859
'tee' in order to generate /var/log/cloud-init-output.log.  This is
20a859
redundant on modern systems, since stdout/stderr are captured by
20a859
systemd and available via journalctl.
20a859
20a859
Resolves: rhbz#1424612
20a859
X-downstream-only: true
20a859
---
20a859
 config/cloud.cfg.d/05_logging.cfg | 5 -----
20a859
 1 file changed, 5 deletions(-)
20a859
20a859
diff --git a/config/cloud.cfg.d/05_logging.cfg b/config/cloud.cfg.d/05_logging.cfg
20a859
index 937b07f..4be8866 100644
20a859
--- a/config/cloud.cfg.d/05_logging.cfg
20a859
+++ b/config/cloud.cfg.d/05_logging.cfg
20a859
@@ -64,8 +64,3 @@ log_cfgs:
20a859
  - [ *log_base, *log_file ]
20a859
 # A file path can also be used.
20a859
 # - /etc/log.conf
20a859
-
20a859
-# This tells cloud-init to redirect its stdout and stderr to
20a859
-# 'tee -a /var/log/cloud-init-output.log' so the user can see output
20a859
-# there without needing to look on the console.
20a859
-output: {all: '| tee -a /var/log/cloud-init-output.log'}