...
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.
It is very often useful to know the database and database driver name and version that is being used. This information can be found in the logfile. An example is shown below:
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
Turning on DEBUG level logging in Standalone Mode:Log levels are controlled by the logging.level.com.frevvo.connectors.database property. Add this property to the <db-home>\database-connector-2.5.3\config\dbconnector.properties file. Restart the connector. Create the Database Connector log in JSON formatThe spring.profiles.include=logging-json property creates the logfile in JSON format. Add this property to the <db-home>\database-connector-2.5.3\config\dbconnector.properties file. Restart the connector. Tomcat bundleWhen debugging database queries refer to output error messages in <frevvo-home>\tomcat\logs\database-connector.YYYY-MM-DD.log Turning on DEBUG level loggingLog levels are controlled by the logging.level.com.frevvo.connectors.database property. To change the log level to DEBUG when using the tomcat bundle, follow these steps:
Create the Database Connector log in JSON formatIf you want to create the connector logs in JSON format, add the spring.profiles.include=logging-json property to the frevvo-config.properties file and restart . This will create JSON logfiles for all of the frevvo spring boot based connectors - Database, Box, Filesystem, Google and SharePoint. Support for the frevvo.log file will be added in a future release.
|
...
Emails with information about the failure will be sent when certain database operations fail. Some situations where the tenant/flow admin might receive a Doc Action failure email are:
...
Live Forms tomcat running on non-default port
...
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.2x\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\dbconnectorfrevvo-config.properties file reflects the correct location of the configuration.xml. An example of this property is shown below:
Code Block |
---|
<Parameter name="frevvo.connectors.database.configuration" value="c:\<frevvo-home>\frevvo\dbconfig\configuration.xml" override="false"/>=file:///C:/<path to configuration.xml> |
The format of your test query URL is invalid
...