2017  Kodetalk | Feedback | Privacy Policy | Terms | About

Where to inspect servlet exceptions in tomcat

If a servlet throws ServletException and it runs in Tomcat - where can I inspect the exception details? Tried to look under logs but nothing is there. I probably miss something very obvious. I do not use (and at this stage don"t plan to use) any log library (such as log4j), just throwing an exception and trying to see it if possible.
They're by default logged to Tomcat/logs/[hostname].[timestamp].log. However, if you run Tomcat from inside an IDE like Eclipse, then it will take over the logging and it'll end up in the IDE console without being written to log file.
Answer is