aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-06-21 20:02:00 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-06-21 20:09:52 +0100
commit2d4ab4c925d8283b3e04846e9e4bd8da1783031a (patch)
tree3ace62dfac43a214223bb51b3d19ccfce323be96 /.github
parent91d411766d0e315ae97fb5aebdf03865ccdb6e0a (diff)
downloadsos-2d4ab4c925d8283b3e04846e9e4bd8da1783031a.tar.gz
[logs] fix RedHatLogs syslog/journal handling
Fix the detection of syslog logs in RedHatLogs.setup() by storing the absolute path ("/var/log/messages"), and using this to detect the presence of the path with os.path.exists() and append the "*" in-place when making the add_copy_spec() call. Also improve the readability of the method and use an explicit variable, "have_messages", to indicate pressence of syslog style logs. Resolves: #1312 Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions