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

 
 
Thread Tools Search this Thread Display Modes
Old Feb 10, 2005, 11: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, 11: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 11, 2005, 12:00 AM   #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 11, 2005, 12:37 AM   #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 11, 2005, 12:48 AM   #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, 08: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, 09: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, 09: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, 10: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, 10: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, 10: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, 01: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, 02: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

Similar Threads
thread Thread Starter Forum Replies Last Post
Interprete My Console Log chrop OS X Mavericks (10.9) 0 Jan 23, 2014 04:29 PM
Delete Log and Other Unnecessary Files... JoelBC Mac Applications and Mac App Store 53 Feb 2, 2013 04:45 PM
Console.log file in HD? kmpoboy2 OS X 10.8 Mountain Lion 4 Jan 20, 2013 03:55 PM
Problems in Console Log Tucson Allen OS X 10.8 Mountain Lion 1 Jan 19, 2013 06:26 PM
Question about a Console log after updating to new iTunes in 10.8.2 hulsmsc OS X 10.8 Mountain Lion 0 Nov 30, 2012 06:57 AM

Forum Jump

All times are GMT -5. The time now is 04:01 PM.

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

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