karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Closed: (KARAF-24) Allow SMX4 kernel to create logfile for the bundles/features
Date Mon, 29 Nov 2010 12:37:38 GMT

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

Guillaume Nodet closed KARAF-24.

    Resolution: Fixed

This is now possible using recent pax-logging version with the Sift appender and OSGi MDC

> Allow SMX4 kernel to create logfile for the bundles/features
> ------------------------------------------------------------
>                 Key: KARAF-24
>                 URL: https://issues.apache.org/jira/browse/KARAF-24
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
> I would like to suggest to add a new feature in SMX4 in order to have logfile for bundle
(or a feature).
> The feature xml file could be modified to provide a new attribute logFile="true" or "false"
> <feature name="myProject" version="1.0" logFile="Yes">
> ...
> </feature>
> When SMX4 will scan the feature xml file, it will create a log file with the name of
the feature + version --> myProject-1.0_log.txt and all the exported classes defined in
the MANIFEST-FILE of the project bundle will be added to the file : org.ops4j.pax.logging.cfg
in order to allow to set the level to INFO, DEBUG, ... for these packages

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message