New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

prevent creation of log files


Post Reply New Thread Subscribe

 
Thread Tools
Jiggy

 
Member Since: Jun 08, 2007
Posts: 43
Jiggy is on a distinguished road

Jiggy is offline
I've got an application that creates log files on 'Macintosh HD'. The file size of these log files can build up pretty quickly to several gigabytes. I could periodically delete these log files. Or use an tool which deletes all log files on a drive completely.

But is there perhaps a way to prevent the creation of log files in the background. Some tool I could have running in the background which prevents log files from being created by any application? Or a script that I could have on my desktop as an icon so I could double click it and it deletes the application log files automatically?
QUOTE Thanks
chas_m

 
chas_m's Avatar
 
Member Since: Jan 22, 2010
Location: Victoria, BC
Posts: 16,191
chas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond repute
Mac Specs: 2009 MBP, Black speakers, Black Benq second monitor, black(ish) iPhone 5s, Black 2012 iPad, etc.

chas_m is offline
Mac OS X cannot operate without log files.

I've never heard of an app that could generate log files of "several gigabytes" in any sort of short period of time, since log files are text and that would be an extremely large amount of text. What app are we talking about here?
QUOTE Thanks
Jiggy

 
Member Since: Jun 08, 2007
Posts: 43
Jiggy is on a distinguished road

Jiggy is offline
It an Indesign plugin I installed from another company. Works in combination with Incopy. It creates three log files every time I startup Indesign with this plugin activated. Log files which can be deleted.

I've tried it with applescript , but I'm new to this so I'm not sure I'm doing it correctly. I've got a file to test it on my desktop called "test.rtf"

I ran this applescript to delete it:

tell application "Finder"
delete "/Users/myname/Desktop/test.rtf"
end tell

But I then get a Finder error saying in Dutch (so I'm not sure what it says in English) something like "Finder received an error: 'test.rtf" cannot be requested". Like the file isn't found?
QUOTE Thanks

Post Reply New Thread Subscribe


« Newbie to Terminal-Locked hard drives help. | data from windows partition show on mac partition in all movies etc. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 02:03 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?