Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is one error message reported by logback:</p> <pre><code>0:52:09,809 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@14:75 - no applicable action for [dataSource], current pattern is [[configuration][appender][connectionSource][dataSource]] </code></pre> <p>This indicates that the element nested within could not be understood. Here is the relevant part of the configuration file:</p> <pre><code>&lt;appender name="DBAppPostgreSQL" class="ch.qos.logback.classic.db.DBAppender"&gt; &lt;!-- DriverManagerConnectionSource does not have a dataSource property --&gt; &lt;connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource"&gt; &lt;dataSource class="com.mchange.v2.c3p0.ComboPooledDataSource"&gt; &lt;driverClass&gt;org.postgresql.Driver&lt;/driverClass&gt; &lt;url&gt;jdbc:postgresql://127.0.0.1:5678/DB&lt;/url&gt; &lt;user&gt;YYYYY&lt;/user&gt; &lt;password&gt;XXX&lt;/password&gt; &lt;/dataSource&gt; &lt;/connectionSource&gt; &lt;sqlDialect class="ch.qos.logback.core.db.dialect.PostgreSQLDialect" /&gt; &lt;insertHeaders&gt;true&lt;/insertHeaders&gt; &lt;/appender&gt; </code></pre> <p><code>ch.qos.logback.core.db.DriverManagerConnectionSource</code> does not have a <code>dataSource</code> property whereas <code>ch.qos.logback.core.db.DataSourceConnectionSource</code> does. You probably want to configure DBAppPostgreSQL with:</p> <pre><code>&lt;appender name="DBAppPostgreSQL" class="ch.qos.logback.classic.db.DBAppender"&gt; &lt;!-- use DataSourceConnectionSource instead of DriverManagerConnectionSource --&gt; &lt;connectionSource class="ch.qos.logback.core.db.DataSourceConnectionSource"&gt; &lt;dataSource class="com.mchange.v2.c3p0.ComboPooledDataSource"&gt; &lt;driverClass&gt;org.postgresql.Driver&lt;/driverClass&gt; &lt;url&gt;jdbc:postgresql://127.0.0.1:5678/DB&lt;/url&gt; &lt;user&gt;YYYYY&lt;/user&gt; &lt;password&gt;XXX&lt;/password&gt; &lt;/dataSource&gt; &lt;/connectionSource&gt; &lt;sqlDialect class="ch.qos.logback.core.db.dialect.PostgreSQLDialect" /&gt; &lt;insertHeaders&gt;true&lt;/insertHeaders&gt; &lt;/appender&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload