Disable too much logs from kernel when log Detail is high

From Notes_Wiki
Revision as of 12:34, 28 July 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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