You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Srikanth Hugar (JIRA)" <ji...@apache.org> on 2014/07/03 07:05:24 UTC

[jira] [Created] (KARAF-3097) Cannot configure Pax logging to use the loggback config instead of the standard log4j properties like syntax

Srikanth Hugar created KARAF-3097:
-------------------------------------

             Summary: Cannot configure Pax logging to use the loggback config instead of the standard log4j properties like syntax
                 Key: KARAF-3097
                 URL: https://issues.apache.org/jira/browse/KARAF-3097
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Srikanth Hugar


I tried to configure to use the logback.xml file instead of standard coming with apache karaf. But no logs been generated and even the kara.log file does not contain much information.
############################################################

org.ops4j.pax.logging.cfg file changed to 

org.ops4j.pax.logging.logback.config.file=${karaf.home}/etc/logback.xml

##############
karaf.log file 

Jul 03, 2014 10:19:59 AM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
Jul 03, 2014 10:20:00 AM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
Jul 03, 2014 10:20:00 AM org.apache.karaf.main.lock.SimpleFileLock lock
.....................................
Jul 03, 2014 10:20:00 AM org.apache.karaf.main.Main$KarafLockCallback lockAquired
INFO: Lock acquired. Setting startlevel to 100

###############################

Is logback.xml configuration is supported in karaf 3.0? If yes, please let me know the document, i tried to find search, but not find.

Or is it a issue/



--
This message was sent by Atlassian JIRA
(v6.2#6252)