Jul 10th, 2012, 08:25 PM
Debugging logs changed after dependency update?
I made a couple smallish changes to BuildConfig.groovy. I added these lines to their respective sections:
Thereafter, logging in the console has gone to debug level, with lots of logging on every grails command,
17:20:37.792 [http-bio-8080-exec-11] DEBUG g.a.t.o.g.p.resource.ResourceTagLib - Removing outstanding request disposition: defer
17:20:37.793 [http-bio-8080-exec-11] DEBUG o.c.g.g.c.s.ReloadAwareAutowireCapableBeanFactory - Returning cached instance of singleton bean 'org.grails.internal.SESSION_FACTORY_HOLDER'
17:20:37.793 [http-bio-8080-exec-11] DEBUG o.c.g.g.o.h.s.HibernatePersistenceContextIntercept or - Closing single Hibernate session in GrailsDispatcherServlet
17:20:37.793 [http-bio-8080-exec-11] DEBUG o.s.o.hibernate3.SessionFactoryUtils - Closing Hibernate Session
17:20:37.794 [http-bio-8080-exec-11] DEBUG o.c.g.g.w.s.m.GrailsWebRequestFilter - Cleared Grails thread-bound request context: org.apache.catalina.connector.RequestFacade@56f5ed 6e
Jul 12th, 2012, 11:09 AM
Moving this to the grails forum as you will be more likely to get a proper response there.
Jul 13th, 2012, 08:57 AM
Did you get this resolved? I'm using Spring LDAP and I'm getting the same messages even though there is no log4j.properties that I can find.
Jul 13th, 2012, 11:20 AM
No solution yet
No, I haven't figured it out yet. I'm struggling a bit with grails logging in general. I can't seem to get a logging statement out of a controller either.
Originally Posted by rjkoop