In the Java Control Panel, I have enabled tracing and logging. I am troubleshooting a Java Applet.
The Java logs appear in the Java Console but aren't written to disk.
I checked in %APPDATA%\sun\java\deployment
- but that directory is empty.
As per Java 8 documentation, that's where the logs are supposed to get written to. I am running JRE 8. How can this be fixed?
Another possibility of the tracing log file location is found from jre8 documentation:
If the environment variable USER_JPI_PROFILE is set to <user plugin home> then the trace and log files will be written to: <user plugin home>\Sun\Java\Deployment\log on Windows
Source:
https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/console_trace_log.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With