You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/11/29 13:37:38 UTC
[jira] Closed: (KARAF-24) Allow SMX4 kernel to create logfile for
the bundles/features
[ 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 attributes.
> 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.