[logback-user] no applicable action for [dialectCode], current pattern is [[configuration][appender][connectionSource][dialectCode]]
ceki
ceki at qos.ch
Thu Nov 3 20:56:07 CET 2011
Hi,
The dialect is detected automatically. You don't have to specify it. Try
configuring DBAppender without the ComboPooledDataSource. What happens then?
--
Ceki
http://twitter.com/#!/ceki
On 03/11/2011 3:28 PM, Jordan Blay wrote:
>
> Hi!
>
> I am getting the following errors in the log:
>
> 1. ERROR in ch.qos.logback.core.joran.spi.Interpreter at 13:17 - no applicable
> action for [dialectCode], current pattern is
> [[configuration][appender][connectionSource][dialectCode]]
>
> 2. ERROR in ch.qos.logback.core.joran.spi.Interpreter at 40:29 - no applicable
> action for [priority], current pattern is [[configuration][root][priority]]
>
> My configuration is like this:
>
> <appender name="db" class="ch.qos.logback.classic.db.DBAppender">
> <connectionSource
> class="ch.qos.logback.core.db.DataSourceConnectionSource">
> <dataSource
> class="com.mchange.v2.c3p0.ComboPooledDataSource">
> <driverClass>com.mysql.jdbc.Driver</driverClass>
> <jdbcUrl>jdbc:mysql://localhost/mydb</jdbcUrl>
> <user>myuser</user>
> <password>mypass</password>
> </dataSource>
> <dialectCode>MYSQL_DIALECT</dialectCode>
> </connectionSource>
> </appender>
>
> I am using version 1.0.0
More information about the Logback-user
mailing list