[logback-user] re ading variables from jdbc.properties file

Jordan Blay be.special at gmail.com
Mon Nov 7 18:55:20 CET 2011


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?
View this message in context: http://old.nabble.com/reading-variables-from-jdbc.properties-file-tp32788737p32788737.html
Sent from the Logback User mailing list archive at Nabble.com.

More information about the Logback-user mailing list