Re: Logging relative to a specific path

2014-12-07 Thread Jörg Hoh
I raised SLING-4225 for it and also attached the patch. Thanks, Jörg 2014-11-29 16:39 GMT+01:00 Chetan Mehrotra : > > sling.log.root = ${sling.home} > > +1. This would also allows using Sling Logging in non Sling Container > easily > Chetan Mehrotra > > > On Fri, Nov 28, 2014 at 7:33 PM, Felix M

Re: Logging relative to a specific path

2014-11-29 Thread Chetan Mehrotra
> sling.log.root = ${sling.home} +1. This would also allows using Sling Logging in non Sling Container easily Chetan Mehrotra On Fri, Nov 28, 2014 at 7:33 PM, Felix Meschberger wrote: > Hi > > How about a sling.log.root property, which we define as > >> sling.log.root = ${sling.home} > > in the

Re: Logging relative to a specific path

2014-11-28 Thread Felix Meschberger
Hi How about a sling.log.root property, which we define as > sling.log.root = ${sling.home} in the sling.properties ? Regards Felix > Am 28.11.2014 um 11:16 schrieb Jörg Hoh : > > Hi Felix, > > I would like to stick to OSGI-based configuration and rather no use any > logback configuration fi

Re: Logging relative to a specific path

2014-11-28 Thread Jörg Hoh
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 : > Hi > > It used to be that the Sling SLF4J implementation had

Re: Logging relative to a specific path

2014-11-27 Thread Felix Meschberger
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 use

Logging relative to a specific path

2014-11-27 Thread Jörg Hoh
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 documentat