Micha Bayer wrote:
> Hi Nicklas,
> 
> the output I am getting is mostly info level messages from both the BASE
> core and hibernate (no errors or warnings, and BASE generally seems
> happy otherwise). When I load the BASE front page into the browser, the
> log starts up with this:
> 
> INFO: Server startup in 3389 ms
> 0    [http-8080-Processor25] INFO  net.sf.basedb.core.Application  -
> Starting BASE
> 0    [http-8080-Processor25] INFO  net.sf.basedb.core.Application  -
> auth.driver = null
 > 484  [http-8080-Processor25] INFO  org.hibernate.cfg.Environment  -
 > Hibernate 3.2 cr3

[snip]

> etc. -- I am getting hundreds more lines before I have even logged in,
> most of them from hibernate. 
> 
> I have checked the log4j.properties file again -- the log level for
> stdout is set to warn and the logging for hibernate is set to off, so
> none of this should be getting logged. I have even set the properties to
> log to file rather than stdout but catalina.out is still getting all of
> this, so it looks like the settings are not getting picked up at all. 
> 
> Is there any in-code configuration going on anywhere?

It looks like the log4j.properties file is beeing ignored. Are you sure 
that Tomcat is using the directory you think it is using?

It could also be that some other logging system is used instead of 
Log4j. I base this on two observations.

1) Your log output is slightly different from mine. It starts with the 
text [http-8080-Processor25] which is not present in my output:

11:29:14,782  INFO Environment:500 - Hibernate 3.2 cr3

If you havn't modified the log4j.properties file your log messages 
should look like that above.

2) If I delete the log4j.properties file I don't get any log messages at 
all except:
log4j:WARN No appenders could be found for logger 
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.

More about Tomcat loggin can be found here:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html

/Nicklas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]

Reply via email to