[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [virgo-dev] Including logback.xml in the bundle
|
Hi Dmitry
There is support for that built into medic, so perhaps you've found a (basic) bug.
If you want to dig into this, please take a look at the following medic classes.
Reading the config out of a bundle is handled by BundleResourceConfigurationLocator. The different ConfigurationLocators are combined and called in order by CompositeConfigurationLocator which is created in MedicActivator.
Regards,
Glyn
On 22 Jul 2010, at 15:35, Dmitry Sklyut wrote:
> Hi,
>
> Is there support for including logback.xml together with the deployed bundle? All of the things that I tried did not work.
> During 2gx last year Rob and Ben mentioned that it is possible. I am wondering if I am missing some manifest header or some magic pixie dust to get it to work.
>
> Looking at the medic code I did not see any extender like functionality for look for bundle/logback.xml or bundle/META-INF/logback.xml...
>
> I have a use case where I would like to re-use logging framework to write out log file into a separate file per instance of Spring Batch job.
>
> Regards,
>
> Dmitry
> <ATT00001..txt>