RE: [JBoss-user] Logging DBPool-size usage
The "close connections for you and warn loudly" in 3.2RC2 and all cvs versions will probably work better than logging for this. david jencks On 2003.02.27 18:27 MailMan wrote: > The main reason for this trace, is because we just gone public with a > e-shop and we have seen some strange db-wanings (unable to obtain > database-connections) - so besides from investigating this error, we just > want to be really really sure that all connections are closed. > So for debugging purposes this is a nice feature - just let the server > run for at while, and if there are to many unused connections, it is > pretty simple to back-track the log and find the error. > > - René > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of David Jencks > Sent: 28. februar 2003 00:16 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Logging DBPool-size usage > > > Did you try setting the org.jboss.resource.connectionmanager log level to > TRACE? > > I think you will get what you want and more. > > Why do you want this? If it seems like a generally useful feature it > might > be a good idea to have an additional category for loggin just this info > without any other fluff. However, all current cvs versions loudly warn > you > if you do not close a connection, and soon if not already the jsr-77 > stuff > will let you get pool statistics. > > > david jencks > > On 2003.02.27 17:37 René Nygaard wrote: > > Hello all > > > > Jboss3.0.6 (soon 3.2x) > > We have in a previous JBoss (2x i think) been able to log all usage of > > the database pool-sizes, eg. when a connection is made and after > > disconnecting. > > But now we need this info again, and cant find the switch to enable > this > > information! > > Where can we enable this info ? > > > > thanks in advance > > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Logging DBPool-size usage
The main reason for this trace, is because we just gone public with a e-shop and we have seen some strange db-wanings (unable to obtain database-connections) - so besides from investigating this error, we just want to be really really sure that all connections are closed. So for debugging purposes this is a nice feature - just let the server run for at while, and if there are to many unused connections, it is pretty simple to back-track the log and find the error. - René -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Jencks Sent: 28. februar 2003 00:16 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Logging DBPool-size usage Did you try setting the org.jboss.resource.connectionmanager log level to TRACE? I think you will get what you want and more. Why do you want this? If it seems like a generally useful feature it might be a good idea to have an additional category for loggin just this info without any other fluff. However, all current cvs versions loudly warn you if you do not close a connection, and soon if not already the jsr-77 stuff will let you get pool statistics. david jencks On 2003.02.27 17:37 René Nygaard wrote: > Hello all > > Jboss3.0.6 (soon 3.2x) > We have in a previous JBoss (2x i think) been able to log all usage of > the database pool-sizes, eg. when a connection is made and after > disconnecting. > But now we need this info again, and cant find the switch to enable this > information! > Where can we enable this info ? > > thanks in advance +,~wzf¢+,¦ì¢·o$áyyézW(ëhç¤ æ¯zxm¶ÿ¶§Ê&þÇÉ,ºÇ«¨¥x%ËI,ºÇ«+-²Ê.Ç¢¸ëa¶Úlÿùb²Û,¢êÜyú+éÞ·ùb²Û?+-wèþ6è²Ë¬z
Re: [JBoss-user] Logging DBPool-size usage
Did you try setting the org.jboss.resource.connectionmanager log level to TRACE? I think you will get what you want and more. Why do you want this? If it seems like a generally useful feature it might be a good idea to have an additional category for loggin just this info without any other fluff. However, all current cvs versions loudly warn you if you do not close a connection, and soon if not already the jsr-77 stuff will let you get pool statistics. david jencks On 2003.02.27 17:37 René Nygaard wrote: > Hello all > > Jboss3.0.6 (soon 3.2x) > We have in a previous JBoss (2x i think) been able to log all usage of > the database pool-sizes, eg. when a connection is made and after > disconnecting. > But now we need this info again, and cant find the switch to enable this > information! > Where can we enable this info ? > > thanks in advance > - René > NygaardÿÓ+,ÿùÞµéX¬²'²Þu¼ÿN§gg¥r¶zH^j÷§þmÿÿÿ¶§ÿ÷(ûÿÿÿÉ,þë®f¢)à+-$,ÿû¬zÿåËlþÊ.Ç¢¸þwÛiÿÿÿ+-ÿû(º·~àÿùÞ·ùb²Û?+-wèþ6è²ÿî --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user