Utility for finding interesting messages in log files

Edit Package logwarn
http://logwarn.googlecode.com/

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.

Refresh
Refresh
Source Files
Filename Size Changed
_service 0000000583 583 Bytes
logwarn-1.0.17.obscpio 0000092171 90 KB
logwarn.changes 0000007762 7.58 KB
logwarn.obsinfo 0000000098 98 Bytes
logwarn.spec 0000003079 3.01 KB
Latest Revision
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 979595 from Archie Cobbs's avatar Archie Cobbs (archie172) (revision 12)
- Upgrade to release 1.0.17
  + Use fstat(2) instead of stat(2) to avoid tiny race condition
  + Fix bug when parsing consecutive "-T" flags
Comments 0
openSUSE Build Service is sponsored by