> [snip] We'd
> prefer not to have to use some other logging mechanism, so of course it
> would be nice (but not essential) if we could supply a custom log object
> which exposed logging interface(s) for Hibernate to use, so events would
be
> logged within our own system.
>
>I haven't used log4j,
> Someone else suggested we use the apache commons logging framework which
> basically just abstracts log4j, jdk 1.4 logging and potentially any other
> logging infrastructure you might want to use.
I took a look at the Apache commons logging docs
(http://jakarta.apache.org/commons/logging/api/ind
> would there be any advantage in having a "proper"
> approach to logging events inside the persistence layer? (Beyond the
> present rudimentary approach of System.out.println() when
> hibernate.debug>0) We could pretty quickly rip out all the printlns and
> replace them with log4j, for example. Bu
Hi everyone,
Now that quite a few people are using hibernate, I'd like to know how easy
people are finding debugging/troubleshooting in their systems. In
particular are there common mistakes that are hard to track down? Are there
any error messages that are misleading or give too little informati