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 . 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 ?
java version "1.7.0_45"
OpenJDK Runtime Environment (fedora-188.8.131.52.fc19-x86_64 u45-b15)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
Yes, logLevel as parameter calls setLogLevel() on the class.