Re: Using Spring-managed DataSource (or other Spring beans) in log4j2 configuration

2013-09-16 Thread Francesco Chicchiriccò
On 13/09/2013 19:29, Nick Williams wrote: On Sep 13, 2013, at 10:26 AM, Francesco Chicchiriccò wrote: Hi all, I am trying to configure a JDBCAppender in log4j 2.0-beta9-SNAPSHOT, with a pre-existing DataSource managed via Spring; such DataSource is used by the rest of Syncope. I have tried,

Re: Using Spring-managed DataSource (or other Spring beans) in log4j2 configuration

2013-09-13 Thread Nick Williams
On Sep 13, 2013, at 10:26 AM, Francesco Chicchiriccò wrote: > Hi all, > I am trying to configure a JDBCAppender in log4j 2.0-beta9-SNAPSHOT, with a > pre-existing DataSource managed via Spring; such DataSource is used by the > rest of Syncope. > > I have tried, without success. to provide a cu

Using Spring-managed DataSource (or other Spring beans) in log4j2 configuration

2013-09-13 Thread Francesco Chicchiriccò
Hi all, I am trying to configure a JDBCAppender in log4j 2.0-beta9-SNAPSHOT, with a pre-existing DataSource managed via Spring; such DataSource is used by the rest of Syncope. I have tried, without success. to provide a custom ConnectionSource or a ConnectionFactory: the point is that, when l