1 Reply Latest reply on Jan 13, 2014 8:12 AM by Jesper Pedersen

    Enabling PostgreSQL driver logging in xa datasource configuration.

    Jeremy Whiting Expert


      I tried enabling debug logging by using the driver property key name "loglevel". Which is detailed in the docs for the postgresql 9.2 driver [1]. The same in 9.3. The driver defines a mixture of all lower and camel case property key names just to make life entertaining.

      Setting the property on my datasource using the xa-datasource-property didn't work. To get it working I had to use "logLevel" instead.


      Is the name attribute value set on the datasource property supposed to map exactly to the name of additional properties supported by the driver ?





      [1] http://jdbc.postgresql.org/documentation/92/connect.html#connection-parameters




      Ironjacamar: 1.0.23.Final

      java version "1.7.0_45"

      OpenJDK Runtime Environment (fedora- u45-b15)

      OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)