I have a jsp project where I using the java.util.logging.Logger class to log information. At the moment my code is logging exceptions using this class, however, i would like to view the data written this log. How do I do that?
It depends how your logging is set up.
In general, it will either be in your server log (for example, for Tomcat, they're in the Tomcat home directory under the logs
directory), or in a file that's been configured for the app.
You will need to configure the logging output to write into a file (or the console). You can then tail the file to keep up-to-date.
See these tutorials on configuration : writing a log file, configuring java logging
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