LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 05-29-2004, 02:51 AM   #1
nemat0de
LQ Newbie
 
Registered: May 2003
Location: DFDub-yah
Distribution: Slack 9.1 mandrake 10
Posts: 29

Rep: Reputation: 15
HELP!!!! /var/log/messages & syslog 350MB and growing!!


I have a brand new installation of mandrake 10. /var/log/messages and /var/log/syslog are both at 350 MB and growing. They are too big for me to open in anything to see what is giong on.

How can I delete the contents so the logging will start over? Any thing else I can do?
 
Old 05-29-2004, 06:08 AM   #2
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
the short answer is, yes, you can (& should) periodically delete log files if you no longer need them for reference, lest they grow to enormous sizes. (as you're finding out) 2 other methods to control unwieldy log files are to set up a cron job to overwrite log files at set intervals instead of appending to them infinitely. (see man cron for details on how to use cron) or, if you wanna live on the edge, you can simply turn off logging by going to MCC (Mandrake Control Center->system->drakxservices-> & turn off the syslog & stop it from running at boot time. that's what i do after i know an install is running smoothly & set up the way i like it, but as i said, it's not the safest method should you ever need to reference a log file to bail you out of a jam. if you use mehtod 1 & delete the files, they will be rebuilt automatically.

otis
 
  


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
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
No output to /var/log/messages or ~syslog eelriver Slackware 5 07-18-2004 05:13 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM
syslog and firestarter - log messages to another file than messages mule Linux - Newbie 0 08-07-2003 03:35 AM
/var/adm/messages & syslog Khalid Linux - General 0 11-08-2001 05:40 PM


All times are GMT -5. The time now is 09:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration