I've found the best solution to be p6spy. Take a look at the following post from Thomas about p6spy. http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgId=393710
I know it doesn't really answer your question/issues with the poorman's logger, but it's a great tool. Aaron On Tue, 3 Sep 2002, Matthew Baird wrote: > i couldn't get the commons or log4j based loggers to print anything, when I used > the poorman's logger i got output. > > m > > -----Original Message----- > From: Gareth Cronin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 2:05 PM > To: 'OJB Users List' > Subject: Turning debugging on > > > According to the commons-logging docs, all I need to do is the following to > the simplelog.properties: > > # > # simplelog config > # > > #set log levels > org.apache.commons.logging.simplelog.defaultlog=warn > org.apache.commons.logging.simplelog.log.org.apache.ojb.broker.accesslayer.J > dbcAccess=debug > org.apache.commons.logging.simplelog.log.org.apache.ojb.broker.accesslayer.S > qlGenerator=debug > > However, this does not seem to produce any additional logging output. What > I'm really after is being able to see what SQL queries are being > executed.... am I doing something obviously wrong? > > Thanks > > Gareth. > > --------------------------------------------- > Gareth Cronin > Analyst/Programmer > Kiwiplan NZ Ltd: http://www.kiwiplan.com > Ph (64 9) 2727622 x854 > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
