Solved

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

Posted on 2015-01-13
4
76 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

724 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