Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-09-06 Thread Karan Malhi
other app servers later. Do you know of any other way we could safely add the system property openejb.logging.external in our code base which could apply to all external clients and not only Geronimo? On 8/30/07, David Blevins [EMAIL PROTECTED] wrote: On Aug 29, 2007, at 6:12 PM, Karan Malhi

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-09-06 Thread Karan Malhi
Yes it should work. On 9/6/07, David Blevins [EMAIL PROTECTED] wrote: On Sep 6, 2007, at 9:04 AM, Karan Malhi wrote: This is because Geronimo also uses the same classes as we use in embedded mode. So it will not be possible to set the SystemProperty there. For example, OpenEjbSystemGBean

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-30 Thread Karan Malhi
Okay, Will implement it with openejb.logging.external=true/false. On 8/30/07, David Blevins [EMAIL PROTECTED] wrote: On Aug 29, 2007, at 6:12 PM, Karan Malhi wrote: Or maybe in one of the very first OpenEJB methods called by Geronimo to start openejb in embedded mode we could add some

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-29 Thread Karan Malhi
explicitly, but somebody forgot to add an appender to it. We will have to mention that if OPENEJB is not configured explicitly with an appender, then logging will not work. On 8/29/07, David Blevins [EMAIL PROTECTED] wrote: On Aug 28, 2007, at 7:35 PM, Karan Malhi wrote: I dont even think

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-29 Thread Karan Malhi
am saying here and dont have a clue how it could be done, but just thinking maybe this could lead to something ;) On 8/29/07, Karan Malhi [EMAIL PROTECTED] wrote: The only way I know of is to do something like Logger openejb = Logger.getInstance(LogCategory.OPENEJB, Foo.class); boolean

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-29 Thread Karan Malhi
not use embedded.logging.properties otherwise we assume our default strategy. On 8/29/07, Karan Malhi [EMAIL PROTECTED] wrote: Just thinking, could we do something with a Thread Context, i.e. if it is an App Server Thread Context, then we do not use embedded.logging.properties file

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-28 Thread Karan Malhi
it, if it is absent then use embedded.logging.properties Do you think I am on the right track and does the above makes any sense? On 8/28/07, David Blevins [EMAIL PROTECTED] wrote: On Aug 27, 2007, at 4:25 PM, Karan Malhi wrote: How do the users of geronimo set log levels? Should be through

Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories

2007-08-27 Thread Karan Malhi
How do the users of geronimo set log levels? On 8/27/07, David Blevins (JIRA) [EMAIL PROTECTED] wrote: Verify log levels can be changed for openejb related log categories --- Key: GERONIMO-3445