Logging Overview
Parameter Logs targets using FastTransfer_settings.json
FastTransfer can log information in 3 modes :
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 -f or --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" `
--method "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" \
--method "None" \
--settingsfile "/etc/fasttransfer/FastTransfer_settings.json"
Some settings files samples can be found in the Configuration Examples page.