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):

image

 

Two methods to generate the log:

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

Example:
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:
http://msdn.microsoft.com/en-us/library/hh231187.aspx
SSIS Logging:
http://weblogs.sqlteam.com/jamesn/archive/2008/02/11/60502.aspx

How to add Simple Logging to an SSIS Package

<->



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