Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

scripts: Make Collect script consider log levels #1050

Merged

Conversation

jodh-intel
Copy link
Contributor

Added extra patterns to the collect script to extract specific logs
records at specific log levels; an error log entry is always an error,
regardless of whether it's message text matches any of the other
heuristic patterns.

Fixes #1049.

Signed-off-by: James O. D. Hunt [email protected]

The proxy no longer runs as a systemd service so remove the systemd
unit selector code.

Signed-off-by: James O. D. Hunt <[email protected]>
Added extra patterns to the collect script to extract specific logs
records at specific log levels; an error log entry is always an error,
regardless of whether it's message text matches any of the other
heuristic patterns.

Fixes clearcontainers#1049.

Signed-off-by: James O. D. Hunt <[email protected]>
Show the available options when displaying the collect scripts usage
message.

Signed-off-by: James O. D. Hunt <[email protected]>
Added the ability to query the collect script version before running it.

Signed-off-by: James O. D. Hunt <[email protected]>
Copy link
Contributor

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@@ -85,6 +85,10 @@ Description: Run this script as root to obtain a markdown-formatted summary

$issue_url

Options:

-h | --help | help : show this usage summary.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heh, extensive!

@@ -88,10 +88,18 @@ Description: Run this script as root to obtain a markdown-formatted summary
Options:

-h | --help | help : show this usage summary.
-v | --version | version : show program version.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, and there we go...

@devimc
Copy link

devimc commented Mar 8, 2018

re-triggering jenkins-ci-fedora-26
lgtm

Approved with PullApprove Approved with PullApprove

@devimc devimc merged commit fb28cb1 into clearcontainers:master Mar 8, 2018
@devimc devimc removed the in progress label Mar 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants