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

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