No matter what I do, I'm unable to get logging statements from my Seam application (deployment and otherwise).
I'm using Weblogic 11g, have specified to use log4j
, and have configured log4j properly following the server's instructions.
My log4j.properties is deployed and picked up, and I believe I have used all of the necessary appenders.
Please take a look and let me know what you think is going on.
# Log4j configuration file. log4j.rootLogger=INFO,A1,stdout # STDOUT is STDOUT logging log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d %p [%t] %C{1} - %m%n # A1 is a FileAppender # log4j.appender.A1.Append=true log4j.appender.A1.File=englink-log4j.log log4j.appender.A1.Threshold=INFO log4j.appender.A1=org.apache.log4j.FileAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-5p [%t] - %m%n # #set level # log4j.logger.com=INFO log4j.logger.org.hibernate=info #log4j.logger.org.hibernate=debug ### log HQL query parser activity #log4j.logger.org.hibernate.hql.ast.AST=debug ### log just the SQL log4j.logger.org.hibernate.SQL=info ### log JDBC bind parameters ### log4j.logger.org.hibernate.type=info ### log schema export/update ### log4j.logger.org.hibernate.tool.hbm2ddl=info ### log HQL parse trees #log4j.logger.org.hibernate.hql=debug ### log cache activity ### log4j.logger.org.hibernate.cache=info ### log transaction activity log4j.logger.org.hibernate.transaction=all ### log JDBC resource acquisition log4j.logger.org.hibernate.jdbc=all ### enable the following line if you want to track down connection ### ### leakages when using DriverManagerConnectionProvider ### #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace log4j.logger.org.jboss.seam.*=all