You should have a look at pax-logging.  Even better, if you want to have a
quick start, have a look at Karaf, which integrates pax-logging.
You can't have easily a per-bundle log file, though you can somewhat achieve
that using a custom log4j configuration and redirecting loggers to different
appenders.   I plan to work on enhancing log4j at the moment to be able to
have a real per-bundle logging some time in the near future.

On Mon, Apr 26, 2010 at 16:15, Larry Touve <[email protected]> wrote:

>
>  Any ideas on the best way to configure bundles to log to their own files?
>  I need to deploy a number of bundles, and Id like to be able to have them
> log to their own files, and be able to change the log4j properties
> dynamically.
>
> Thanks,
>
> Larry Touve
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to