...
Excerpt | ||||
---|---|---|---|---|
LogfilesThe Database Connector uses SLF4J with logback, which is the same logging infrastructure used in . Log MDC entries for configuration path, the querySet name, the query name, correlation.id, tenant id, subject.id. These will be captured when processing client requests.
Exceptions are properly logged with their stacktraces. This makes it easier to diagnose errors, which sometimes are frevvo/DBConnector specific and sometimes database specific. All JDBC statements are logged in the DEBUG logging level. This includes the actual SQL statement used, the actual arguments, the number or rows returned and whether it was successful. There are different logfiles for the Standalone and tomcat bundle installations. Standalone mode
Tomcat bundleWhen debugging database queries refer to output error messages in <frevvo-home>\tomcat\logs\database-connector.YYYY-MM-DD.log Log levels are controlled by profiles. The prod profile is the default.
To change the log level to DEBUG, add a property to the <frevvo-home>\tomcat\conf\dbconnector.properties file to load the dev profile.
When this profile is loaded:
|
...
Check the reported path. Verify that the configuration.xml is present in the same directory as the database.war file or in the C:\database\database-connector-2.5.02\config directory for a Standalone installation. If you are running the connector in the tomcat bundle, verify that the value of the "frevvo.connectors.database.configuration parameter in the <frevvo-home>\tomcat\conf\dbconnector.properties file reflects the correct location of the configuration.xml.
...