Location of log file Embedded Tomcat will write to

Where is the location of the log file the Embedded Tomcat will write to?

I want to check the configuration file used by Openboxes but I could not find the Tomcat log file.

Thanks.

That’s a good question. I’ve only run the standalone WAR with the embedded Tomcat a few times and I don’t think I ever checked the logs. My guess is that if you’re booting the application through the service, then the you can use journalctl to tail the logs.

sudo journalctl

Or query the systemd journal for a specific service if you aren’t keen on consuming a firehose of logging messages

sudo journalctl -u openboxes -f
sudo journalctl -u openboxes.service -f