This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
For best results, check the Tomcat docs "logging" section. It describes how to configure the server logs for Tomcat.
I think Tomcat's log config normally comes from its JVM log config, but that's not the best place to override. You should be able to setup a "-Dlogging.properties" in the TOMCAT_HOME/setenv.bat/.sh file (which you have to create yourself).
I'm pulling all this from memory, which is risky business for me, so definitely check the Tomcat docs AND the proper name of the JVM parameter that overrides location of the logging properties file.
An IDE is no substitute for an Intelligent Developer.
Well, I tried a few things without success. I then realized that the JBoss Tools plugin I'm using is not picking up the tomcat/conf/logging.properties file, even though I pointed the JBoss Tools server config to the installation path.
If you meant Embedded JBoss, I threw that out of the window recently. I felt it's not needed for my purposes (which I originally considered kind of mandatory for Seam apps, which actually isn't).
So I'm using plain Tomcat right now. My approach was basically right, but... JBoss Tools is based on Eclipse WTP, the latter being able to control Tomcat servers, but you must tell Eclipse WTP's Tomcat launcher to pick up that logging file (even if you have WTP configured to take control of your local Tomcat).
Actually, JBoss has a copy of Tomcat embedded within it to handle the servlet/JSP aspects of the J2EE stack. Originally, you had the option of using an embedded Tomcat or an embedded Jetty, but I was talking to some JBoss people about a year back and they said the newer stuff is Tomcat-only.
WTP and anything based on it is an entirely different bucket of worms. I'm not a big fan of WTP, because it doesn't run Tomcat cleanly. It cherry-picks stuff out of the Tomcat server config and puts them in its own private internal location. I prefer the sysdeo plugin, since it provides integrated control and debugging for Tomcat while still working with the standard Tomcat configuration. And better yet, with the enhanced configurations that I use for production servers.
So it's possible that JBoss Tools isn't honoring the standard log config if it's using WTP functions.