Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Archive > Archives of Old Posts > General Mac Discussion

 
 
Thread Tools Search this Thread Display Modes
Old Feb 10, 2005, 10:07 PM   #1
CalfCanuck
macrumors 6502a
 
Join Date: Nov 2003
OK to delete console.log files?

Was trying to tighten up my iBook G4 hard drive, and came across 1.4 GB of console.log files.

Is there any reason I should not delete these? Are they merely descriptive of past events or does the system need them?

Seems a bit of a waste of good HD storage to me, but want to check it out here before I do something rash!
CalfCanuck is offline   0
Old Feb 10, 2005, 10:45 PM   #2
Bear
macrumors G3
 
Join Date: Jul 2002
Location: Sol III - Terra
Keep console.log get rid of console.log.#
__________________
-----Bear
Bear is offline   0
Old Feb 10, 2005, 11:00 PM   #3
Platform
macrumors 68030
 
Platform's Avatar
 
Join Date: Dec 2004
Quote:
Originally Posted by Bear
Keep console.log get rid of console.log.#
Why is it good to keep the console.log and OK to get rid of console.log.#
__________________
Aluminium Macbook | 20" iMac G5 (iSight)
Platform is offline   0
Old Feb 10, 2005, 11:37 PM   #4
CalfCanuck
Thread Starter
macrumors 6502a
 
Join Date: Nov 2003
Quote:
Originally Posted by Bear
Keep console.log get rid of console.log.#
Thanks!

My console.log.1-0 are 1.27 GB, while the console.log is only 4 KB.

I'm curious what causes a new log file to begin, as the old files range in size from 4 KB to 972 MB ...
CalfCanuck is offline   0
Old Feb 10, 2005, 11:48 PM   #5
ravenvii
macrumors 604
 
ravenvii's Avatar
 
Join Date: Mar 2004
Location: Melenkurion Skyweir
Or you can just leave your computer on overnight (not sleeping), and OS X's maintainence cron jobs will take care of it for you.
__________________
59 6F 75 20 73 70 6F 6F 6E 79 20 62 61 72 64 21
ravenvii is online now   0
Old Feb 11, 2005, 07:53 AM   #6
Bear
macrumors G3
 
Join Date: Jul 2002
Location: Sol III - Terra
Quote:
Originally Posted by Platform
Why is it good to keep the console.log and OK to get rid of console.log.#
console.log is the current file and if something goes wrong, it'll be good to have around to look at.
__________________
-----Bear
Bear is offline   0
Old Feb 11, 2005, 08:57 AM   #7
yellow
Moderator
 
yellow's Avatar
 
Join Date: Oct 2003
Location: Portland, OR
Quote:
Originally Posted by CalfCanuck
I'm curious what causes a new log file to begin, as the old files range in size from 4 KB to 972 MB ...
When you log in, a new console.log for your session is created and the old ones are rotated. If you have a laptop, chances are you sleep it constantly and don't logout/restart/login/etc very often, so your logs don't get rotated very often.
yellow is offline   0
Old Feb 11, 2005, 08:59 AM   #8
Platform
macrumors 68030
 
Platform's Avatar
 
Join Date: Dec 2004
Quote:
Originally Posted by yellow
When you log in, a new console.log for your session is created and the old ones are rotated. If you have a laptop, chances are you sleep it constantly and don't logout/restart/login/etc very often, so your logs don't get rotated very often.
So that would be the reason for him havin so much log files
__________________
Aluminium Macbook | 20" iMac G5 (iSight)
Platform is offline   0
Old Feb 11, 2005, 09:00 AM   #9
Platform
macrumors 68030
 
Platform's Avatar
 
Join Date: Dec 2004
Quote:
Originally Posted by Bear
console.log is the current file and if something goes wrong, it'll be good to have around to look at.
Thanks

But as mention earlier does OS X do the fixing job for you if you leave your system on for a long time
__________________
Aluminium Macbook | 20" iMac G5 (iSight)
Platform is offline   0
Old Feb 11, 2005, 09:20 AM   #10
yellow
Moderator
 
yellow's Avatar
 
Join Date: Oct 2003
Location: Portland, OR
Upon further reflection, it's more likely that the log gets rotated at logout. I'm not sure yet.

Quote:
Originally Posted by Platform
So that would be the reason for him havin so much log files
He will never have more then 10 archived console logs.. but their size is an indication that something is potentially wrong with the system. Something was complaining bitterly and splatting to the console, which increased their size. And if whatever splats 5MB of crap into the console.log daily, and it's 1 month between actual reboots/relogs/whatever, you're looking at 155MB of wasted space. Then the log gets auto-magically rotated when you logout(/in?), and say you have 10 of them.. poof.. that's 1.6GB worth of disk space eaten up by your logs.
yellow is offline   0
Old Feb 11, 2005, 09:26 AM   #11
yellow
Moderator
 
yellow's Avatar
 
Join Date: Oct 2003
Location: Portland, OR
Nope, I was right the first time.. console.log is rotated and recreated at login.
yellow is offline   0
Old Feb 11, 2005, 12:33 PM   #12
CalfCanuck
Thread Starter
macrumors 6502a
 
Join Date: Nov 2003
Quote:
Originally Posted by yellow
He will never have more then 10 archived console logs.. but their size is an indication that something is potentially wrong with the system. Something was complaining bitterly and splatting to the console, which increased their size.
Thanks for the info.

The log files did seem to have calmed down a lot lately, so I'll be keeping an eye on them (as a example of how healthy my system is).

I'm not sure why the logs didn't clean themselves out, though, as I do sometimes leave the machine on overnight for a Retropspect backup.
CalfCanuck is offline   0
Old Feb 11, 2005, 01:42 PM   #13
yellow
Moderator
 
yellow's Avatar
 
Join Date: Oct 2003
Location: Portland, OR
Quote:
Originally Posted by CalfCanuck
I'm not sure why the logs didn't clean themselves out, though, as I do sometimes leave the machine on overnight for a Retropspect backup.
Console.log isn't touched by the overnight scripts. Peruse /etc/daily, /etc/weekly, and /etc/monthly for confirmation.
yellow is offline   0


 
MacRumors Forums > Archive > Archives of Old Posts > General Mac Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Looking for an easy way to clean up system files (.DS_Store, ._) gumbyx84 Mac Applications and Mac App Store 7 Feb 22, 2011 06:11 PM
Tiger/ OK to delete previous system files? burningbright Mac Basics and Help 4 Jul 7, 2008 06:58 AM
OK to delete old Backup files? DVDSP Mac Applications and Mac App Store 2 Nov 20, 2005 08:33 AM
console.log files almost 10GB JeDiBoYTJ OS X 3 Jun 26, 2005 12:48 PM
My console.log file is 27GIGS!! What is this and can I delete it? amberashby Mac Applications and Mac App Store 10 Mar 26, 2004 01:10 PM


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

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC