Solved

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

Posted on 2015-01-13
4
75 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Procedure 7 49
SQL - Update field value based on two other fields in same table. 13 41
SQL: Transformation or Pivot 3 34
how to use ROW_NUMBER() correctly 8 43
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

734 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