Hi Felix, I would like to stick to OSGI-based configuration and rather no use any logback configuration file. I will then try to come up with a patch. Thanks for your help.
regards, Jörg 2014-11-28 7:50 GMT+01:00 Felix Meschberger <fmesc...@adobe.com>: > Hi > > It used to be that the Sling SLF4J implementation had the code to resolve > relative paths against sling.home and that was not configurable. > > In the meantime we switched over to embedding Logback instead. Looks like > this is still part of the logging configuration. See LogConfigManager which > uses sling.home as the root directory handed over to the > LogWriterManagedServiceFactory for OSGi-based logging configuration. > > On the other hand Logback configuration files are supported as well these > days and I am not really sure how relative paths are handled there. > > Regards > Felix > > > Am 27.11.2014 um 23:07 schrieb Jörg Hoh <jhoh...@googlemail.com>: > > > > Hi, > > > > I am just evaluating if it's possible to specifiy a directory, which is > > used to resolve all relative log file against. The documentation states, > it > > always resolves against the "sling.home" directory, but can I change > this? > > I haven't found any pointer neither in the source nor on the > documentation > > page. > > > > > > kind regards && thanks, > > Jörg > > -- Cheers, Jörg Hoh, http://cqdump.wordpress.com Twitter: @joerghoh