?
Solved

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

Posted on 2015-01-13
4
Medium Priority
?
77 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 2000 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

762 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