[logback-user] re ading variables from jdbc.properties file
be.special at gmail.com
Mon Nov 7 19:03:05 CET 2011
On Mon, Nov 7, 2011 at 7:59 PM, ceki <ceki at qos.ch> wrote:
> Are properties defined before the appender?
> On 07.11.2011 18:55, Jordan Blay wrote:
>> I have the following appender:
>> <connectionSource class="ch.qos.logback.core.db.DataSourceConnectionSource">
>> <dataSource class="com.mchange.v2.c3p0.ComboPooledDataSource">
>> I also have the following:
>> <property resource="jdbc.properties" />
>> The file is located under src - classpath and includes the variables
>> However, I get error messages when I try to start tomcat unless I change the
>> variables to static text.
>> I also tried
>> <property file="src/jdbc.properties /> but with no success
>> What is wrong?
> Logback-user mailing list
> Logback-user at qos.ch
what matters most is how you see yourself
More information about the Logback-user