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...")
(No difference)

Revision as of 12:54, 24 March 2013

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