Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Where should you put log files for easy user access ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where should you put log files for easy user access ?



Hi Paul,

On Mac OS X it is best to put log files in ~/Library/Logs
Whereas ~ is the home directory of the user.

Your log file should have the extension .log
This way, users can browse it with the Console application.

If your application creates multiple of log files, put the files into a subdirectory with your application name.


Best Regards, Werner

On 08.01.07, at 15:57, Paul Taylor wrote:

I have written a Java application , for OSX it is packaged as an .app. Ive recently added some logs files but where should they go so they are easily accessible to the end user ? I originally held them in under .app within the resources folder, but this did not very easy as the user has to use 'Show Package Contents' to get to them, I then moved them to /tmp , but this does not seem available from the Finder and they have to use the Terminal Window to access it, so what is the correct location ?

thanks Paul


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40bluewin.ch


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Where should you put log files for easy user access ? (From: Paul Taylor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.