karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3094) How to configure logback.xml in Apache Karaf 3.0
Date Wed, 02 Jul 2014 10:23:24 GMT

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

Achim Nierbeck resolved KARAF-3094.
-----------------------------------

    Resolution: Won't Fix

1) Please use the user mailinglist to ask questions, this is a issue system. 
2) you'll need to configure Pax logging to use the loggback config instead of the standard
log4j properties like syntax
3) don't provide the logback bundles cause Pax Logging takes care of this

> How to configure logback.xml in Apache Karaf 3.0
> ------------------------------------------------
>
>                 Key: KARAF-3094
>                 URL: https://issues.apache.org/jira/browse/KARAF-3094
>             Project: Karaf
>          Issue Type: Question
>    Affects Versions: 3.0.0
>            Reporter: Srikanth Hugar
>            Priority: Critical
>
> I have a existing logging service using logback.xml. I was using the service in tomcat
and logback.xml was packaged in war file. And everythign was fine. 
> Now i moving from tomcat to apache karaf. And wanted to use the same service to write
logs according to logback.xml configuration. Basically call bundles logs should go according
to logback.xml configuration.
> Now i trying by including logback 
> <bundle>mvn:org.ops4j.pax.logging/pax-logging-logback/1.7.1</bundle>
> 		<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-compiler/2.6.1_1</bundle>
> Am i heading to write direction? Because it has lot of other dependencies like groovy.
> Is logback supported in karaf with pax logging?



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

Mime
View raw message