nuodb-migrator Properties File
There are two types of files used by the nuodb-migrator
tool:
-
Configuration File (
nuodb-migrator.properties
) -
log4j properties File (
log4j.properties
)
Depending on the method of installation, the location of these files is as follows:
Installation method | Location of configuration files |
---|---|
NuoDB Client Package Installation |
|
GitHub Source Build |
|
The property that sets JDBC connection trace file logging is turned off by default, for performance reasons.
This option controls logging the DDL SQL statements that execute during nuodb-migrator load
command processing.
If the option is turned on, the performance of nuodb-migrator load
will be negative impacted.
To log these DDL SQL statements, comment out the following line in the properties file by adding a #
character at the beginning of the line:
log4j.logger.com.nuodb.migrator.jdbc.connection=none
This will log all DDL SQL statements generated to a file named nuodb-migrator.log
.
An environment variable, NUODB_MIGRATOR_LOGDIR
, should be set to define the location of this file.
If the environment variable is not set, the file location will default to the system’s temporary directory.