aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-12-05 14:26:03 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-12-11 17:02:35 +0000
commit40cfbd26a64d33cd3ed87edbf8d2b248d339ad9b (patch)
tree025590e021f810f7f8ad5353850d234ca9a11c8c /man
parent745b4a236a0255ea76ffd273f3e2028ac46b4a89 (diff)
downloadsos-40cfbd26a64d33cd3ed87edbf8d2b248d339ad9b.tar.gz
[plugins] improve heuristic for applying --since to logarchives
logarchive_pattern treats some configs (e.g. /etc/dbus-1) as log archives, causing --since option will skip collecting them. This patch just improves the heuristic by claiming nothing under /etc is a logarchive, and adds a warning to sosreport help. Improves: #1847 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/en/sosreport.17
1 files changed, 5 insertions, 2 deletions
diff --git a/man/en/sosreport.1 b/man/en/sosreport.1
index a885d563..75819b6e 100644
--- a/man/en/sosreport.1
+++ b/man/en/sosreport.1
@@ -158,8 +158,11 @@ and including logs in non-default locations. This option may significantly
increase the size of reports.
.TP
.B \--since YYYYMMDD[HHMMSS]
-Limits the collection to logs newer than this date.
-This also affects \--all-logs. Will pad with 0s if HHMMSS isn't specified.
+Limits the collection of log archives to those newer than this date. A log
+archive is any file not found in /etc, that has either a numeric or a
+compression-type file extension for example ".zip". ".1", ".gz" etc.).
+This also affects \--all-logs. The date string will be padded with zeros
+if HHMMSS is not specified.
.TP
.B \--allow-system-changes
Run commands even if they can change the system (e.g. load kernel modules).