Generate SSIS log using dtexec 生成SSIS 日志

Categories: Database; Tagged with: ; @ October 9th, 2012 20:11

First we need to Config logging in SSIS package(GUI):



Two methods to generate the log:

1. Using SSIS ‘Connection’ to sotre the log;

dtexec /f DavidTest.dtsx  /l “DTS.LogProviderTextFile;log.txt”
(log.txt is a Connection in SSIS package).

2. Redirect console message into a file:

dtexec /f DavidTest.dtsx  /cons NMT >C:/ConsoleMsg.log


About the dtexec parameters:
SSIS Logging:

How to add Simple Logging to an SSIS Package


// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.