Tie together custom logging and SSIS logging?
I recently read the project real ETL design best practices whitepaper. I too, want to do custom logging as I do today, and also use SSIS logging. The paper recommended using the variable system::PackageExecutionId to tie the 2 logging methods together. The only variable I see is ExecutionInstanceId, which is also a GUID.In the sysdtslog90 table, I see sourceid and executionid, both GUIDS.When I run my package, the system::PackageExecutionId does not match either sourceid or executionid.Anyone know whats up?
September 12th, 2005 6:42pm
I was able to get this to work just like the article showed.System::ExecutionInstanceGUID is the PackageExecutionId that the article refers to.At the beginning of a package, I log the package execution id to custom table with some other package level metadata. I am then able to run a query like this:select l.message from etl_package_execution einner join sysdtslog90 lon e.PackageExecutionId = l.executionidwhich would return something like this (depending how logging is configured):(2 rows)Beginning of package execution. End of package execution. System::SourceID corresponds to the unique ID assigned to each Package and Task. So, if you wanted all the dts logs for a certain version of the package, you could do a query like this:select l.message from etl_package_execution einner join sysdtslog90 lon e.PackageId = l.sourceidwhere e.Version = '1.1' and e.PackageName = 'Cln_RunDataScreens'
Free Windows Admin Tool Kit Click here and download it now
September 12th, 2005 7:38pm
Could you please give the link of this article?
Thanks a lot
October 26th, 2006 8:56pm
http://www.microsoft.com/sql/solutions/bi/projectreal.mspx
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2006 12:35am
Google came up with this...
http://www.microsoft.com/sql/solutions/bi/projectreal.mspx
October 27th, 2006 12:35am
See this Article about implementing custom ssis logging various ways.
http://pragmaticworks.com/Products/Business-Intelligence/BIxPress/ssis-logging-auditing-monitoring.aspx
SSIS-Tutorials-FAQs |
Convert DTS to SSIS |
Document SSIS |
SSIS Tasks |
Real-time SSIS Monitoring
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2011 1:14pm