How to Install and Uninstall logwarn Package on openSuSE Tumbleweed

Last updated: May 20,2024

1. Install "logwarn" package

This is a short guide on how to install logwarn on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install logwarn

2. Uninstall "logwarn" package

Please follow the instructions below to uninstall logwarn on openSuSE Tumbleweed:

$ sudo zypper remove logwarn

3. Information about the logwarn package on openSuSE Tumbleweed

Information for package logwarn:
--------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : logwarn
Version : 1.0.17-1.6
Arch : x86_64
Vendor : openSUSE
Installed Size : 45.8 KiB
Installed : No
Status : not installed
Source package : logwarn-1.0.17-1.6.src
Upstream URL : https://github.com/archiecobbs/logwarn/
Summary : Utility for finding interesting messages in log files
Description :
logwarn searches for interesting messages in log files, where ``interest-
ing'' is defined by an user-supplied list of positive and negative (pre-
ceeded with a ``!'') 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 invoca-
tion.
logwarn also includes support for log messages that span multiple lines.