Possible Duplicate:
redirecting a java web start app logs to a file
How do you redirect the console log to a file for Java Web Start in Mac OS X? I am running an application as a Java Web Start, and I need the console data to persist; when the app closes, its console goes with it. Is there a way to redirect the console output to a log file?
For now, I am having my application stay open while I debug, but it would be nice to set this up for the unexpected.
It turns out the answer from How do I pipe the Java console output to a file? does work, but the log goes in the following location under OS X (which I have not found documented anywhere):
/~/Library/Caches/Java/log