LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2009, 08:28 PM   #1
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
logwatch detail


Hey guys,

running centos, i have a setting in my logwatch file (/usr/share/logwatch/default.conf/logwatch.conf) setting the detail level:

# The default detail level for the report.
# This can either be Low, Med, High or a number.
# Low = 0
# Med = 5
# High = 10
Default=High

However, when I look at the 0logwatch script in /etc/cron.daily i see a value:

$Config{'detail'} = 0;


Whats the best way to set my detail for logwatch scripts?

Thanks in advance!
 
Old 08-11-2009, 08:46 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
/etc/cron.daily/0logwatch is a symlink to /usr/share/logwatch/scripts/logwatch.pl. As the location suggests /usr/share/logwatch/default.conf/logwatch.conf contains defaults. 'grep ^Read.*Conf /usr/share/logwatch/scripts/logwatch.pl' (aka read the Source, Luke) leads to 'locate logwatch.conf' which yields /etc/logwatch/conf/logwatch.conf which reads "# Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf)". So the best way is to set "Detail = someValue" in /etc/logwatch/conf/logwatch.conf, is your answer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does logwatch run automatically? How can I reset logwatch? abefroman Linux - Software 4 06-17-2009 03:17 AM
Logwatch detail i_nomad Linux - Newbie 4 06-09-2008 10:41 AM
Question about suid detail... redbot Linux - Security 6 10-01-2007 10:59 AM
Its in the detail! legin Fedora 1 01-07-2005 08:37 AM
Detail Logging Lucasite Linux - Security 1 03-06-2004 07:10 AM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration