On 9/6/07, David Blevins <[EMAIL PROTECTED]> wrote:
> Cool. I've updated the Geronimo side as follows:
...and I've created a page about how the OpenEJB-Geronimo integration
works in Geronimo Wiki [1] where I expect to find information on
openejb.logger.external as well (I purposely wrote 'I expec
Cool. I've updated the Geronimo side as follows:
Index: src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java
===
--- src/main/java/org/apache/geronimo/openejb/
OpenEjbSystemGBean.java (revision 570242)
+++ src/main/j
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, OpenEjbS
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 also uses SystemInstance, but
our code also uses SystemInstance heavily. So
Can we ask the Geronimo team to set it in the
org.apache.geronimo.openejb.OpenEjbSystemGBean class.
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 also uses SystemInstance,
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
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 code like
System.setProperty("openejb.logging","external");
the first time the Logger class is loaded, we check for this pro
Or maybe in one of the very first OpenEJB methods called by Geronimo
to start openejb in embedded mode we could add some code like
System.setProperty("openejb.logging","external");
the first time the Logger class is loaded, we check for this property
and if it has a value of external, then we do
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, if it is an OpenEJB thread context
which is trying to access the Logger, then if we go with our existing
strategy.
I dont even know what I am
The only way I know of is to do something like
Logger openejb = Logger.getInstance(LogCategory.OPENEJB, Foo.class);
boolean configured = openejb.getAllAppenders().hasMoreElements();
If there is an appender for OPENEJB then configured will be true and
we will know that OPENEJB was configured expl
On Aug 28, 2007, at 7:35 PM, Karan Malhi wrote:
I dont even think they can change log levels. We used the logic that
- if conf is present - use logging.properties
- if conf is present - logging.properties is absent- install
logging.properties and use it
- if conf is absent, assume embedded and
I dont even think they can change log levels. We used the logic that
- if conf is present - use logging.properties
- if conf is present - logging.properties is absent- install
logging.properties and use it
- if conf is absent, assume embedded and use
embedded.logging.properties which is available i
On Aug 27, 2007, at 4:25 PM, Karan Malhi wrote:
How do the users of geronimo set log levels?
Should be through the log4 files in the /var/log directory of the
install.
-David
On 8/27/07, David Blevins (JIRA) <[EMAIL PROTECTED]> wrote:
Verify log levels can be changed for openejb relat
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
>
Verify log levels can be changed for openejb related log categories
---
Key: GERONIMO-3445
URL: https://issues.apache.org/jira/browse/GERONIMO-3445
Project: Geronimo
Issue Type:
15 matches
Mail list logo