...
- <host> - the URL for the web server on which you deployed database.war.
- <port> - port where the container is listening for http requests. This defaults to 8082 if the database connector was deployed in the tomcat bundle or port 8081 if you are running the Database Connector in Standalone mode.
- <queryset name> - queryset name defined in the database connector configuration file.
- <query name> – query name defined in the database connector configuration file.
Logfiles
Excerpt | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
The database connector logging output is very helpful for troubleshooting database SQL issues.
The database connector logs version information for each datasource definition as it makes initial contact with your database(s).
To log the actual SQL statement, arguments, number or rows returned and success status, set logging level to INFO. There are different logfiles for the Standalone and tomcat bundle installations. Standalone modeThere are four logfiles in <db-home>\database\database-connector-2.5.x\logs
Turning on DEBUG level logging
Tomcat bundleThe database connector writes all output to a single logfile <frevvo-home>\tomcat\logs\database-connector.YYYY-MM-DD.log Turning on DEBUG level logging
Switch the Database Connector log in JSON formatLogging output defaults to text format. To switch to JSON format, add thisproperty to the frevvo-config.properties for the frevvo-tomcat bundle or to dbconnector.properties file for the standalone bundle.
|
...