Utility for finding interesting messages in log files
Logwarn searches for interesting messages in log files, where ``interesting'' is defined by a user-supplied list of positive and negative extended regular expressions provided on the command line.
Each log message is compared against each pattern in the order given. If the log message matches a positive pattern before matching a negative pattern then it's printed to standard output.
Logwarn keeps track of its position between invocations, so each matching line is only ever output once. It also finds messages in log files that have been rotated (and possibly compressed) since the previous invocation.
Logwarn also includes support for log messages that span multiple lines.
Logwarn is written in C for efficient execution. A Nagios plugin is also included.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.2/logwarn && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
logwarn-1.0.14.tar.gz | 0000098749 96.4 KB | |
logwarn.changes | 0000006273 6.13 KB | |
logwarn.spec | 0000003181 3.11 KB |
Revision 4 (latest revision is 5)
- Upgrade to release 1.0.14 + Fix bug where `-T' suppressed everything when used with `-p' + Fix bug where `-T' would also count negative patterns + Fix segfault parsing `-T' in certain cases - Add 7eac274.patch + Fixes bug where `-T' would also count negative patterns - Add 3a874b0.patch + Fixes bug where `-T' suppressed everything when used with `-p' - Upgrade to release 1.0.13 + Added `-T' flag for frequency filtering - Update project homepage URL - Update source file URL - Upgrade to release 1.0.12 + Added note to man page that the default behavior is to match + Fix substitution for @BASH_SHELL@ in check_logwarn script - Remove temporary fix check-logwarn-bash.patch + Moved project hosing from Google code to GitHub + Added `-R' flag (issue #24)
Comments 0