-O, --err

Specifies the path to write error messages.

Syntax

-O [ERR]
--err=[ERR]
--err+=[ERR]

Description

Any non-zero exit code indicates an error. More information can be found in the error log. By default, [ERR] is set to STDERR, which specifies that error log data should be printed to the console. Users can specify a location and a file name instead. Data Hauler will create that file in a specified location, if one is specified, and write error log data to that file. The extension for this file should be .1010err. If that file already exists, it will be overwritten.

Use += to append to an existing [ERR] file.

Data Hauler also creates TenUp error files for each table. The name of these files depend on what is specified as [ERR]. If you do not specify a file extension, Data Hauler creates a file named with the following format for each table:
[ERR].[DSTPATH].[TABLE_PATH]
If you specify a file extension, Data Hauler creates a file named with the following format for each table:
[ERR].[DSTPATH].[TABLE_PATH].[EXTENSION]

Example

If you have tables with these paths and you use -O or --err:
  • sales.jan
  • sales.feb
Data Hauler creates the following:
[ERR] specified Files created
logfile logfile

logfile.[DSTPATH].sales.jan

logfile.[DSTPATH]. sales.feb

logfile.1010err logfile.1010err

logfile.[DSTPATH].sales.jan.1010err

logfile.[DSTPATH]. sales.feb.1010err