[sos-devel] Fixed: BryanQuigley/sos#116 (logs - 09ca05b)
Travis CI
builds at travis-ci.org
Tue Feb 12 01:06:28 UTC 2019
Build Update for BryanQuigley/sos
-------------------------------------
Build: #116
Status: Fixed
Duration: 5 mins and 6 secs
Commit: 09ca05b (logs)
Author: Bryan Quigley
Message: [logs] Debian: Add Journal support and stop full tarball of /var/log
These changes are only on the Debian/Ubuntu bit of logs
Persistent systemd journaling (/var/log/journal exists)
use that instead of collecting any kern/syslog/auth from /var/log.
We also implement a log_days similar to the RH bit, but we default
to 7 days instead of 3.
--all-logs removes the day limit and gets it all
Rsyslog style (assumed if /var/log/journal doesn't exist
default run: collect all 4 of syslog[.1] and kern.log[.1]
(Same as previous behavior plus auth.log).
--all-logs: collect syslog*, kern.log*, and auth.log*
The notable change for --all-logs is it used to just collect all of
/var/log which causes MANY issues.
Before this change using --all-logs on systems with persistent journal
we would collect duplicate log files as such:
* Collect all of syslog*/kern*/auth*
* Collect the entire journal via /var/log/journal
* Collect the last two boots of journal via running journalctl command
Even with this change we still collect the journal last/current boot
with whatever is copied by journal since log_days.
Signed-off-by: Bryan Quigley <bryan.quigley at canonical.com>
View the changeset: https://github.com/BryanQuigley/sos/compare/1707eb7c70e1...09ca05b33add
View the full build log and details: https://travis-ci.org/BryanQuigley/sos/builds/491924908?utm_medium=notification&utm_source=email
--
You can unsubscribe from build emails from the BryanQuigley/sos repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=12244263&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sos-devel/attachments/20190212/bada650e/attachment.htm>
More information about the sos-devel
mailing list