Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > can i delete???

can i delete???
Thread Tools
Dedicated MacNNer
Join Date: Mar 2006
Location: Encinitas, CA
Status: Offline
Reply With Quote
Jun 25, 2006, 10:01 PM
 
I was trying to free up some space on my comp and i found this file that 1.8 gigs. The path is...Macintosh HD/library/logs/console/501. Does anyone know what this is and if i can delete it or will that mess everything up? Thanks for the help.
2.2 i7 MacBook Pro 8GB Ram 1TB HD
16 GB iPhone 4
Apple TV 2 x3
     
Senior User
Join Date: Nov 2005
Status: Offline
Reply With Quote
Jun 25, 2006, 10:19 PM
 
I looked at mine, and the entire folder is about 1.2 MB, so yours is on the far side of huge it would seem.

I noticed from your sig that you run a pair of notebooks. Try running MacJanitor (http://www.versiontracker.com/dyn/moreinfo/macosx/10491) and perform "all tasks." This will run all teh daily, weekly, and monthly maintenance routines, which includes cleaning up and rotating the log files (somebody else will have to explain exacly what this does; best as I can tell, it archives old log data.) normally done on machines left on 24/7. Since notebooks typically aren't left on all the time, the routines may or may not run, depending on when they are used.

I think this explanation is right, I'm sure somebody will correct me if I'm wrong.
     
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Online
Reply With Quote
Jun 26, 2006, 01:31 AM
 
That explanation should not apply to machines running Tiger, frdm - Tiger runs the cron jobs when they're scheduled and immediately if they're overdue as a result of sleep or shutdown.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jun 26, 2006, 01:34 AM
 
Originally Posted by David2213
I was trying to free up some space on my comp and i found this file that 1.8 gigs. The path is...Macintosh HD/library/logs/console/501. Does anyone know what this is and if i can delete it or will that mess everything up? Thanks for the help.
It's your first user's console log file, where errors (and status messages) thrown during program execution are stored for later examination.

A 1.8GB log file is indicative of a program that is trying fervently to do something, failing, and trying again with no delay. Opening the log file in a text editor capable of handling large files (e.g. TextWranger; do not use MS Word or TextEdit, both of which will choke on a file that size) should reveal a repeating sequence of errors, in this case, repeated a couple of million times.

You can safely delete the log files at any time. A new log file will simply be created the next time an error is to be logged.

tooki
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Jun 26, 2006, 03:00 AM
 
Originally Posted by tooki
Opening the log file in a text editor capable of handling large files (e.g. TextWranger; do not use MS Word or TextEdit, both of which will choke on a file that size) should reveal a repeating sequence of errors
Of course you can just use Console.app to view log files.
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jun 26, 2006, 08:21 AM
 
Not when they're that big. It chokes on them, too. My advice was based on dealing with this exact problem on a client's machine. Console.app couldn't handle the client's 700MB log. I can't imagine how it would fare on a file nearly 3 times that size.

tooki
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Jun 26, 2006, 08:30 AM
 
Console.app only reads the tail of the log with the intention not to choke. I have no personal experience with such large log files though, so I believe you that it does regardless.
     
Dedicated MacNNer
Join Date: Mar 2006
Location: Encinitas, CA
Status: Offline
Reply With Quote
Jun 26, 2006, 08:40 AM
 
i checked those logs and they all had something to do with my powermate. not sure what it said but it deleted fine. thanks for the help
2.2 i7 MacBook Pro 8GB Ram 1TB HD
16 GB iPhone 4
Apple TV 2 x3
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Jun 26, 2006, 08:45 AM
 
Or you could use tail in Terminal.app and not worry abotu what Console.app will try to do.
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:21 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2