-
1. Re: Enable Seam Debug Logging
bfo81 Jul 5, 2006 6:40 AM (in response to nkopp)That would be interesting to me, too. *bump* ;).
-
2. Re: Enable Seam Debug Logging
pmuir Jul 5, 2006 6:46 AM (in response to nkopp)By default JBoss logs to $JBOSS_HOME/server/default/log/server.log . By default it logs Seam debug messages.
Or are you not using JBoss? -
3. Re: Enable Seam Debug Logging
bfo81 Jul 5, 2006 6:52 AM (in response to nkopp)Tomcat 5.5 with Eclipse. I can see the log in my Eclipse console, but it's only INFO and WARN.
-
4. Re: Enable Seam Debug Logging
pmuir Jul 5, 2006 7:02 AM (in response to nkopp)I don't know anything about Tomcat, sorry. But you'll need to find out where it logs to (what you get in eclipse is the console output which is typically less verbose than the log) and, then, if there are no debug messags from Seam, adjust the Tomcat log configuration so that they do appear.
-
5. Re: Enable Seam Debug Logging
norman.richards Jul 5, 2006 11:11 AM (in response to nkopp)I have no idea how tomcat directly on eclipse works, but in JBoss you can adust log levels in the conf/log4j.xml file. What you see as output from JBoss is the console log, and is filtered to show only INFO/WARN. What you see in log/server.log is every log message that isn't filtered out by a category setting.
If you are running outside of the app server, you probably just need to make a log4j.xml or log4j.properties file available on your classpath. (I would assume tomcat standalone has one of these already) But then again, why not just run in the appserver where you get logging (and deployment, and management, etc...) provided to you for free. -
6. Re: Enable Seam Debug Logging
nkopp Jul 5, 2006 11:30 AM (in response to nkopp)I'm deploying to the JDeveloepr's built-in OC4J container. Does SEAM use log4j? I looked in its code and it appears to be using jboss logging (which I guess might be using log4j under the covers). If so, what specific settings do I need in my log4j config file in order to get the system to spit out seam debug logs?
-
7. Re: Enable Seam Debug Logging
theute Jul 5, 2006 11:37 AM (in response to nkopp)Yes it's using log4j under the cover,
<category name="org.jboss.seam"> <priority value="TRACE"/> </category>
Will let you have info down to TRACE mode (TRACE, DEBUG, INFO, WARN, ERROR)