Solved

SSIS: can we make 'Logging' configurable in SSIS (VS 2012)

Posted on 2015-01-13
4
66 Views
Last Modified: 2016-02-15
Dear Folks,

Can we make "Logging" as configurable in SSIS using Visual Studio 2012 at run time?

Actually, we have configured error logging in 'SQL Server' database. But we would like to turn off at run time.

Best Regards,
Mohit Pandit
0
Comment
Question by:MohitPandit
  • 2
  • 2
4 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 40548606
Hi,
you can set the property "LoggingMode" on the package. This can also be set using an expression.
Therefore you can even store a variable in either a database table, XML or as project parameter and use this value in the expression.
HTH
Rainer
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 40548623
Additional info:
Location is
Package.Properties[LoggingMode]
and possible values are:
UI Value - Numeric Value (to be set)
UseParentSetting - 0
Enabled - 1
Disabled - 2
0
 
LVL 5

Author Comment

by:MohitPandit
ID: 40559307
Okay, I shall check & get back to you.
0
 
LVL 5

Author Closing Comment

by:MohitPandit
ID: 40559537
thanks
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

My client sends data in an Excel file to me to load them into Staging database. The file contains many sheets that they have same structure. In this article, I would like to share the simple way to load data of multiple sheets by using SSIS.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now