THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Davide Mauri

A place for my thoughts and experiences the Microsoft Data Platform

DTLoggedExec 1.1.2008.4 SP2 released!

I’ve released couple of hours ago the SP2 of my DTLoggedExec tool.

For those who don’t know it, it’s a DTEXEC replacement, useful to execute SSIS and having logging provided right from the engine and not from the package itself.

More info can be found here:

This SP2 release add an important feature to the CSV Log Provider. It's now possible to store a personalized label into each log, in order to make it easy to identify or group logs.

Let's say, for example, that you have 10 packages in your ETL solution, and each time you have to load your data, you need to execute all those 10 packages. In other words , you have a batch made of 10 packages. It would be nice if all logs - one for each package - can be identified as a whole and grouped together, in order to quickly identify all the log of a articular batch.

This will make things easier when you want to know the overal time consumed by each batch execution.

The new "ExecutionLabel" attribute will help to achieve this. A useful ExecutionLabel can be obtained using SQL Server Agents Token. For example:



  • Updated the CSV Log Provider in order to write the status of the log file in the header.
    • An OPEN status means that the log file is being written.
    • A CLOSED status means that the log files has been written correctly.
    • A file can be loaded into the database log only if is in the CLOSED state.
  • CSV Log files have 2 additional rows in the header: one for the FileStatus and one for the ExecutionLabel values.
    • File format has been update to 4 from 3. (Only the header section of the file has been changed).
  • CSV Log Provider will now display EndTime value to the Console
  • Updated the import-log-data.sql to correctly load file with format 3 (the old one) and 4 (the new one).
  • Updated database schema to version 19 in order to store the new ExecutionLabel value
  • Update samples in order to show how to use the new ExecuteLabel option

As usual the download is available for free here:

Published Wednesday, February 1, 2012 7:15 PM by Davide Mauri
Filed under: , , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS



abx said:


May 31, 2018 11:00 PM

chenjinyan said:


August 22, 2018 11:18 PM

chenlixiang said:



September 18, 2018 10:13 PM

chenjinyan said:


October 9, 2018 6:40 PM

chenqiuying said:


October 10, 2018 6:40 PM

Leave a Comment


About Davide Mauri

Director of Software Development & Cloud Infrastructure @ Sensoria, an innovative smart garments and wearable company. After more than 15 year playing with the Microsoft Data Platform, with a specific focus on High Performance databases, Business Intelligence, Data Science and Data Architectures, he's now applying all his skills to IoT, defining architectures to crunch numbers, create nice user experiences and provide meaningful insights, all leveraging Microsoft Azure cloud. MVP on Data Platform since 2006 he has a very strong background development and love both the ER model and OO principles. He is also a fan of Agile Methodology and Automation, which he tries to apply everywhere he can, to make sure that "people think, machines do".

This Blog


Privacy Statement