Difference between revisions of "Disable too much logs from kernel when log Detail is high"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Logwatch_configuration|Logwatch configuration</yambe:breadcrumb> =Disable too much logs from kernel when log Detail is high= To disable too many logs from k...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>Logwatch_configuration|Logwatch configuration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Monitoring tools]] > [[Logwatch configuration]] > [[Disable too much logs from kernel when log Detail is high]]
=Disable too much logs from kernel when log Detail is high=


To disable too many logs from kernel when log Detail is high use:
To disable too many logs from kernel when log Detail is high use:
Line 13: Line 12:
#::: my $Detail = 0;
#::: my $Detail = 0;
#::</pre>
#::</pre>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Monitoring tools]] > [[Logwatch configuration]] > [[Disable too much logs from kernel when log Detail is high]]

Latest revision as of 12:34, 28 July 2022

Home > CentOS > CentOS 6.x > Monitoring tools > Logwatch configuration > Disable too much logs from kernel when log Detail is high

To disable too many logs from kernel when log Detail is high use:

  1. Edit file '/usr/share/logwatch/scripts/services/kernel'
  2. Change
    my $Detail = $ENV{'LOGWATCH_DETAIL_LEVEL'} || 0;
    to
    #my $Detail = $ENV{'LOGWATCH_DETAIL_LEVEL'} || 0;
    my $Detail = 0;



Home > CentOS > CentOS 6.x > Monitoring tools > Logwatch configuration > Disable too much logs from kernel when log Detail is high