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

      Hi,

      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 ?

       

      Regards,

      Jeremy

       

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

       

      postgresql:9.3-1100

      EAP:6.2

      Ironjacamar: 1.0.23.Final

      java version "1.7.0_45"

      OpenJDK Runtime Environment (fedora-2.4.3.0.fc19-x86_64 u45-b15)

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