karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Hugar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-3097) Cannot configure Pax logging to use the loggback config instead of the standard log4j properties like syntax
Date Thu, 03 Jul 2014 05:05:24 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Srikanth Hugar updated KARAF-3097:
----------------------------------

    Description: 
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/

  was:
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/


> 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)

Mime
View raw message