skip to main content
Troubleshooting : Troubleshooting an Application by Logging : Configuring Logging : Using the Driver
 

Try DataDirect Cloud Now
Using the Driver
By default, the driver looks for the file named ddcloudlogging.properties in the current working directory to load for all connections.
If a properties file is specified for the LogConfigFile connection property, the driver uses the following process to determine which file to load:
1. The driver looks for the file specified by the LogConfigFile property.
2. If the driver cannot find the file in Step 1, it looks for a properties file named ddcloudlogging.properties in the current working directory.
3. If the driver cannot find the file in Step 2, it abandons its attempt to load a properties file.
If any of these files exist, but the logging initialization fails for some reason while using that file, the driver writes a warning to the standard output (System.out), specifying the name of the properties file being used.
A sample properties file is installed in the install_dir/testforjdbc directory, where install_dir is your product installation directory. The file is named ddcloudlogging.properties. You can copy this file to the current working directory of your application, and modify it for your needs using a text editor.