aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-08-25 09:19:18 +0200
committerPavel Moravec <pmoravec@redhat.com>2019-08-25 09:19:18 +0200
commitd1862e0f398ac5c2760e5eb2f444b781b9b04089 (patch)
treef36a50e4f3bf120d2eee87ead3b211af359742d5 /man
parenta215548e5cc8074d9f8e5467ad20d6ec9b4de761 (diff)
downloadsos-d1862e0f398ac5c2760e5eb2f444b781b9b04089.tar.gz
[sosreport] grab logs since date
Adds a --since switch that takes a date as an argument. This switch will skip the archive files with a mtime older than the date. Also, --since affects journalctl execution for --all. Resolves: #1678 Signed-off-by: David Vallee Delisle <dvd@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/en/sosreport.15
1 files changed, 5 insertions, 0 deletions
diff --git a/man/en/sosreport.1 b/man/en/sosreport.1
index 271d0935..379aa92d 100644
--- a/man/en/sosreport.1
+++ b/man/en/sosreport.1
@@ -24,6 +24,7 @@ sosreport \- Collect and package diagnostic and support data
[--verify]\fR
[--log-size]\fR
[--all-logs]\fR
+ [--since YYYYMMDD[HHMMSS]]\fR
[-z|--compression-type method]\fR
[--encrypt-key KEY]\fR
[--encrypt-pass PASS]\fR
@@ -153,6 +154,10 @@ Tell plugins to collect all possible log data ignoring any size limits
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.
+.TP
.B \-z, \--compression-type METHOD
Override the default compression type specified by the active policy.
.TP