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 01, 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


No Comments

Leave a Comment


About Davide Mauri

Davide Mauri - MCP, MCAD, MCDBA, MCT, MVP on SQL Server - has worked with SQL Server since version 6.5, and his interests cover the whole platform, from the Relational Engine to Analysis Services, from architecture definition to performance tuning. He also has a strong knowledge of XML, .NET and the Object Oriented Design principles, which allows him to have the correct vision and experience to handle development of complex business intelligence solutions. Having worked as a Microsoft Certified Teacher for many years, Davide is able to pass all his knowledge to his co-workers, allowing his team to deliver high-quality solutions. He currently works as a Mentor for SolidQ and can be found speaking in many Italian and internationals events.

This Blog


Privacy Statement