You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Charles Moulliard <cm...@gmail.com> on 2010/08/09 10:46:59 UTC

Is the file "/etc/org.apache.karaf.log.cfg" always used ?

Hi,

I try to figure out the role of the file "/etc/org.apache.karaf.log.cfg" and
if we are still using it ?

The main class of Karaf uses the file "/etc/org.ops4j.pax.logging.cfg" to
load logging properties but not org.apache.karaf.log.cfg.

Additional remark : There is also another variable which is never used -->
"KARAF_BOOTSTRAP_LOG = "karaf.bootstrap.log"

Kind regards,

Charles Moulliard

Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - Karaf - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com |  Twitter :
http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard

Re: Is the file "/etc/org.apache.karaf.log.cfg" always used ?

Posted by Guillaume Nodet <gn...@gmail.com>.
The main class uses java util logging before pax-logging is available,
but all other logging statements made fronm bundles should then ude
pax-logging, hence the config file in the etc folder.

On Monday, August 9, 2010, Charles Moulliard <cm...@gmail.com> wrote:
> Hi,
>
> I try to figure out the role of the file "/etc/org.apache.karaf.log.cfg" and if we are still using it ?
>
> The main class of Karaf uses the file "/etc/org.ops4j.pax.logging.cfg" to load logging properties but not org.apache.karaf.log.cfg.
>
> Additional remark : There is also another variable which is never used --> "KARAF_BOOTSTRAP_LOG = "karaf.bootstrap.log"
>
> Kind regards,
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel - Karaf - ServiceMix Committer
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Blog : http://cmoulliard.blogspot.com |  Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard
>

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com