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.

Source Files
Filename Size Changed Actions
check-logwarn-bash.patch 0000000310 310 Bytes over 5 years
logwarn-1.0.11.tar.gz 0000094188 92 KB about 6 years
logwarn.changes 0000004870 4.76 KB over 5 years
logwarn.spec 0000003255 3.18 KB over 5 years
Comments for logwarn 0