Disable too much logs from kernel when log Detail is high

From Notes_Wiki
Revision as of 12:54, 24 March 2013 by Saurabh (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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 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;