Logging Overview
Parameter Logs targets using FastTransfer_Settings.json
FastTransfer can log information in 3 modes:
Log targets
- Consolelog levels and console output
- DatabaseMSSQL and PostgreSQL only
- File (or Map)log file paths and names built from variables
Tips
You can use several targets (sinks) at the same time.
You can adapt what and where you want to log using the FastTransfer_Settings.json file.
By default, if no custom path is provided, FastTransfer looks for the settings file in:
- the current directory (the working directory)
- the same directory where the FastTransfer executable is located (the executable directory).
If this file is not present, FastTransfer will use the console log only.
You can specify a custom path to the settings file using the --settingsfile parameter.
- Windows
- Linux
.\FastTransfer.exe `
--sourceconnectiontype "mssql" `
--sourceserver "localhost" `
--sourcedatabase "tpch" `
--sourcetrusted `
--targetconnectiontype "msbulk" `
--targetserver "localhost" `
--targetdatabase "tpch_copy" `
--query "select * from orders" `
--targettrusted `
--targetschema "dbo" `
--targettable "orders" `
--parallelmethod "None" `
--settingsfile "D:\logs\config\FastTransfer_Settings.json"
./FastTransfer \
--sourceconnectiontype "mssql" \
--sourceserver "localhost" \
--sourcedatabase "tpch" \
--sourcetrusted \
--targetconnectiontype "msbulk" \
--targetserver "localhost" \
--targetdatabase "tpch_copy" \
--query "select * from orders" \
--targettrusted \
--targetschema "dbo" \
--targettable "orders" \
--parallelmethod "None" \
--settingsfile "/etc/fasttransfer/FastTransfer_Settings.json"
See also
- Configuration Examplessample settings files