Setup logwatch » Historie » Revision 2
Revision 1 (Jeremias Keihsler, 04.02.2020 10:11) → Revision 2/4 (Jeremias Keihsler, 06.06.2022 16:33)
h1. Install Procedure for logwatch
h2. Requirements
To install logwatch you will need the following:
* a installed and supported operating system (e.g. CentOS 8.x)
* root-access
* a fast internet connection
h2. Preliminary Note
h2. Install
Install @logwatch@:
<pre><code class="bash">
yum install logwatch
</code></pre>
h2. Configure
override default output to stdout by
<pre><code class="bash">
vim /etc/logwatch/conf/logwatch.conf
</code></pre>
<pre>
# Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf)
Output = mail
</pre>
h3. reduce noise in output
see also https://bugzilla.redhat.com/show_bug.cgi?id=1231364#c38
<pre><code class="bash">
vim /etc/logwatch/conf/ignore.conf
</code></pre>
<pre>
###### REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT OUTPUT #####
#JKE 2022-06-06
libpod-.*\.scope: (Succeeded|Consumed)
session-.*\.scope: (Succeeded|Consumed)
</pre>