Blame SOURCES/wla-Update-Log-Collector-default-in-Comments-and-Readme-.patch

2acd00
From 1671c696f3b0f51e3e317b50aabc5dc84be4ca01 Mon Sep 17 00:00:00 2001
2acd00
From: Mohammed Gamal <mgamal@redhat.com>
2acd00
Date: Wed, 3 Aug 2022 13:23:19 +0200
2acd00
Subject: [PATCH 2/2] Update Log Collector default in Comments and Readme
2acd00
 (#2608)
2acd00
2acd00
RH-Author: Mohamed Gamal Morsy <mmorsy@redhat.com>
2acd00
RH-MergeRequest: 4: Update Log Collector default in Comments and Readme
2acd00
RH-Commit: [1/1] 2f249d80b7136a0e3dbacb34a75c56454b95b8c2
2acd00
RH-Bugzilla: 2093965
2acd00
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
2acd00
2acd00
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2093965
2acd00
2acd00
(cherry picked from commit a560872bec103523e73ddcb5fb5705896545ffce)
2acd00
2acd00
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
2acd00
---
2acd00
 README.md                    | 2 +-
2acd00
 config/debian/waagent.conf   | 2 +-
2acd00
 config/suse/waagent.conf     | 2 +-
2acd00
 config/ubuntu/waagent.conf   | 2 +-
2acd00
 config/waagent.conf          | 2 +-
2acd00
 tests/data/test_waagent.conf | 2 +-
2acd00
 6 files changed, 6 insertions(+), 6 deletions(-)
2acd00
2acd00
diff --git a/README.md b/README.md
2acd00
index c69f43e6..f2f3db46 100644
2acd00
--- a/README.md
2acd00
+++ b/README.md
2acd00
@@ -465,7 +465,7 @@ _Default: y_
2acd00
 
2acd00
 If set, agent logs will be periodically collected and uploaded to a secure location for improved supportability.
2acd00
 
2acd00
-NOTE: This feature is only supported ubuntu 16.04+; this flag will not take effect on any other distro.
2acd00
+NOTE: This feature relies on the agent's resource usage features (cgroups); this flag will not take effect on any distro not supported.
2acd00
 
2acd00
 #### __Logs.CollectPeriod__
2acd00
 
2acd00
diff --git a/config/debian/waagent.conf b/config/debian/waagent.conf
2acd00
index 6bc36604..dfd7afcd 100644
2acd00
--- a/config/debian/waagent.conf
2acd00
+++ b/config/debian/waagent.conf
2acd00
@@ -63,7 +63,7 @@ Logs.Verbose=n
2acd00
 # Enable Console logging, default is y
2acd00
 # Logs.Console=y
2acd00
 
2acd00
-# Enable periodic log collection, default is n
2acd00
+# Enable periodic log collection, default is y
2acd00
 Logs.Collect=y
2acd00
 
2acd00
 # How frequently to collect logs, default is each hour
2acd00
diff --git a/config/suse/waagent.conf b/config/suse/waagent.conf
2acd00
index ac9f11a2..c617f9af 100644
2acd00
--- a/config/suse/waagent.conf
2acd00
+++ b/config/suse/waagent.conf
2acd00
@@ -66,7 +66,7 @@ Logs.Verbose=n
2acd00
 # Enable Console logging, default is y
2acd00
 # Logs.Console=y
2acd00
 
2acd00
-# Enable periodic log collection, default is n
2acd00
+# Enable periodic log collection, default is y
2acd00
 Logs.Collect=y
2acd00
 
2acd00
 # How frequently to collect logs, default is each hour
2acd00
diff --git a/config/ubuntu/waagent.conf b/config/ubuntu/waagent.conf
2acd00
index 63635a81..19b56bae 100644
2acd00
--- a/config/ubuntu/waagent.conf
2acd00
+++ b/config/ubuntu/waagent.conf
2acd00
@@ -66,7 +66,7 @@ Logs.Verbose=n
2acd00
 # Enable Console logging, default is y
2acd00
 # Logs.Console=y
2acd00
 
2acd00
-# Enable periodic log collection, default is n
2acd00
+# Enable periodic log collection, default is y
2acd00
 Logs.Collect=y
2acd00
 
2acd00
 # How frequently to collect logs, default is each hour
2acd00
diff --git a/config/waagent.conf b/config/waagent.conf
2acd00
index c7d10e2f..14cd01c8 100644
2acd00
--- a/config/waagent.conf
2acd00
+++ b/config/waagent.conf
2acd00
@@ -72,7 +72,7 @@ Logs.Verbose=n
2acd00
 # Enable Console logging, default is y
2acd00
 # Logs.Console=y
2acd00
 
2acd00
-# Enable periodic log collection, default is n
2acd00
+# Enable periodic log collection, default is y
2acd00
 Logs.Collect=y
2acd00
 
2acd00
 # How frequently to collect logs, default is each hour
2acd00
diff --git a/tests/data/test_waagent.conf b/tests/data/test_waagent.conf
2acd00
index a386228a..cc60886e 100644
2acd00
--- a/tests/data/test_waagent.conf
2acd00
+++ b/tests/data/test_waagent.conf
2acd00
@@ -67,7 +67,7 @@ ResourceDisk.MountOptions=None
2acd00
 # Enable verbose logging (y|n)
2acd00
 Logs.Verbose=n
2acd00
 
2acd00
-# Enable periodic log collection, default is n
2acd00
+# Enable periodic log collection, default is y
2acd00
 Logs.Collect=y
2acd00
 
2acd00
 # How frequently to collect logs, default is each hour
2acd00
-- 
2acd00
2.31.1
2acd00