LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-19-2001, 06:58 PM   #1
mmboam
LQ Newbie
 
Registered: Mar 2001
Location: Hillsboro, OR
Posts: 2

Rep: Reputation: 0
Unhappy


I noticed the size of my /var/log/sudo.log file getting very large and was wondering if there is some sort if sudo setting that says when the sudo.log file should be archived. There are two other sudo archive files on the system called sudo.log.1.gz and sudo.log.2.gz.

Is this a sudo setting or some other Linux setting that archives all log files when they get to a certain size.

Thanks,

Matt
 
Old 04-24-2001, 12:40 AM   #2
aimstr8
Member
 
Registered: Mar 2001
Posts: 40

Rep: Reputation: 15
Take a look at:

/etc/logrotate.d/syslog

You should see something similar to
/var/log/sudo.log {
postrotate
/usr/bin/killall -HUP syslogd
endscript
}

sudo.log.1.gz and sudo.log.2.gz are your compressed files.
also read man logrotate. It will help you configure logrotate
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
Archive software satimis Linux - Software 4 07-01-2005 11:18 PM
Mail Archive xedios Linux - Software 1 06-22-2005 03:18 PM
this doesn't look like a tar archive .phister Slackware 5 02-01-2004 01:19 AM
importing an MS Outlook archive archive.pst alloydog Linux - Software 2 08-29-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:32 PM.

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