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.
- Developed at server:monitoring
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/logwarn && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000583 583 Bytes | |
logwarn-1.0.16.obscpio | 0000091659 89.5 KB | |
logwarn.changes | 0000007482 7.31 KB | |
logwarn.obsinfo | 0000000098 98 Bytes | |
logwarn.spec | 0000003079 3.01 KB |
Revision 11 (latest revision is 12)
- Fix bug with spec file - source shouldn't be using URL - Upgrade to release 1.0.16 + Store repeated timestamps more efficiently in state file + Fixed infinite loop in Nagios plugin '-C' flag (issue #29) + Fixed crash when "-T X/Y" flag was the last command line argument - Replace source tarball with _service file pulling from github
Comments 0