geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karan Malhi" <karan.ma...@gmail.com>
Subject Re: [jira] Created: (GERONIMO-3445) Verify log levels can be changed for openejb related log categories
Date Wed, 29 Aug 2007 02:35:29 GMT
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 in the openejb-core.jar
.
- if embedded.logging.properties is not found in openejb-core.jar then
rely on the log4j.configuration system property

So, if openejb is embedded within GERONIMO,  no matter what log levels
they set in the var/logs directory, those settings should never take
effect.

I think what we can do though is that Geronimo can set the
log4j.configuration system property in the
o.a.g.openejb.OpenEjbSystemGBean and we can then do the following:
- if conf is absent, assume embedded, look for log4j.configuration
system property. if log4j.configuration property is set, then use 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 <david.blevins@visi.com> wrote:
>
> 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) <jira@apache.org> wrote:
> >> 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: Bug
> >>       Security Level: public (Regular issues)
> >>     Affects Versions: 2.0
> >>             Reporter: David Blevins
> >>
> >>
> >> Some users have reported inability to change log levels for log
> >> categories pertaining to OpenEJB.  This needs to be investigated,
> >> verified and fixed if found to be an issue or better documented if
> >> found not to be an issue.
> >>
> >>
> >> --
> >> This message is automatically generated by JIRA.
> >> -
> >> You can reply to this email to add a comment to the issue online.
> >>
> >>
> >
> >
> > --
> > Karan Singh Malhi
> >
>
>


-- 
Karan Singh Malhi

Mime
View raw message