[sos-devel] Broken: BryanQuigley/sos#109 (logs - fdf89ae)

Travis CI builds at travis-ci.org
Thu Jan 31 19:17:12 UTC 2019


Build Update for BryanQuigley/sos
-------------------------------------

Build: #109
Status: Broken

Duration: 3 mins and 51 secs
Commit: fdf89ae (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.log/syslog 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).
 --all-logs: collect syslog* and kern.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*log
 * 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/7ab16631a468...fdf89aee8c22

View the full build log and details: https://travis-ci.org/BryanQuigley/sos/builds/487091666?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/20190131/4f62c989/attachment.htm>


More information about the sos-devel mailing list