How to Install and Uninstall logwarn Package on openSUSE Leap

Last updated: November 26,2024

1. Install "logwarn" package

Please follow the guidelines below to install logwarn on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install logwarn

2. Uninstall "logwarn" package

Here is a brief guide to show you how to uninstall logwarn on openSUSE Leap:

$ sudo zypper remove logwarn

3. Information about the logwarn package on openSUSE Leap

Information for package logwarn:
--------------------------------
Repository : Main Repository
Name : logwarn
Version : 1.0.17-bp155.1.12
Arch : x86_64
Vendor : openSUSE
Installed Size : 41.9 KiB
Installed : No
Status : not installed
Source package : logwarn-1.0.17-bp155.1.12.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.