dbTalk Databases Forums  

SSIS Package Log File Configuration

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss SSIS Package Log File Configuration in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Desmodromic
 
Posts: n/a

Default SSIS Package Log File Configuration - 12-09-2007 , 09:13 PM






Within SSIS where can I specifiy the following attributes for package
run logs?

- File name (e.g. package name with start datetime appended)
- File location
- Retention (e.g. 30 days)
- Level of verbosity

Thanks

\M

Reply With Quote
  #2  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: SSIS Package Log File Configuration - 12-10-2007 , 07:55 AM






On Dec 10, 3:13 am, Desmodromic <davies... (AT) yahoo (DOT) com.au> wrote:
Quote:
Within SSIS where can I specifiy the following attributes for package
run logs?

- File name (e.g. package name with start datetime appended)
- File location
- Retention (e.g. 30 days)
- Level of verbosity

Thanks

\M
Hi \M,

Right-click on the package background and select "Logging...". This
lets you set up your log providers (file(s)/database(s)/etc). Once
you have selected or created your log providers, these behave just as
any other Connection Manager and should be configured the same way
(probably using package configurations).

Verbosity is determined by checking the events to log in the logging
configuration window on the "Details" tab.

Retention needs to be managed as it is not a built-in feature in SSIS
logging. I typically have a "housekeeping" package which cleans out
log files/tables according to a specified retention policy.

It should be noted that when you run a package, the order of events
is:
1) Log package start
2) Apply package configurations
3) Rest of package ...

So the logging actually starts *before* package configurations are
applied. This should be accommodated in your design - usually I have
2 log files:
1) Package.log -- Default log file which records package start
2) Package_YYYYMMDD.log -- Configured log file created at runtime
which records package execution

Good luck!
J


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.