diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2019-08-25 09:19:18 +0200 |
---|---|---|
committer | Pavel Moravec <pmoravec@redhat.com> | 2019-08-25 09:19:18 +0200 |
commit | d1862e0f398ac5c2760e5eb2f444b781b9b04089 (patch) | |
tree | f36a50e4f3bf120d2eee87ead3b211af359742d5 /tests/plugin_tests.py | |
parent | a215548e5cc8074d9f8e5467ad20d6ec9b4de761 (diff) | |
download | sos-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 'tests/plugin_tests.py')
-rw-r--r-- | tests/plugin_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py index e81575cf..b8760429 100644 --- a/tests/plugin_tests.py +++ b/tests/plugin_tests.py @@ -93,6 +93,7 @@ class EnablerPlugin(Plugin): class MockOptions(object): all_logs = False dry_run = False + since = None log_size = 25 allow_system_changes = False |