Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8659815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:05:55+00:00 2026-06-12T16:05:55+00:00

I have an SSIS Package, call it PackageA . Sometimes, I want to have

  • 0

I have an SSIS Package, call it PackageA. Sometimes, I want to have it logging to a text file, while other times, I do not. My initial though was to have the package check a table, then use a variable/expression to enable/disable logging. I am assuming this is not possible?

My work around is to create a “master” package, PackageB, with a SQL task to get whether or not to enable logging. PackageB would call PackageA1 or PackageA2 depending on the value–PackageA1 would be PackageA deployed with logging enabled and PackageA2 would be PackageA deployed with logging disabled.

That makes deployment a hassle and easy to mess up, however. Is there any way to accomplish, at the very least, something similar to what I am looking for?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:05:57+00:00Added an answer on June 12, 2026 at 4:05 pm

    Packages have LoggingMode property, which you can change when you run package using GUI or dtexec command line switch: (more info)

    dtexec /f "C:\Package.dtsx" /set "\Package.Properties[LoggingMode];2"
    

    If you use SSIS 2012 and Project Deployment Model you can also set LOGGING_LEVEL parameter from None to Verbose by using for example catalog.set_execution_parameter_value stored procedure (more info).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ssis package...which read data from fixed-column-width text file into DB table.
I have simple SSIS package which reads data from flat file and insert into
I have simple SSIS package where I import data from flat file into SQL
I have an SSIS package with a .dtsConfig file. When I run the .dtsx
I have created an SSISpackage in my asp.net project.To call the ssis package, i
I have an SSIS package ( Archive.dtsx ) and a configuration file ( ArchiveConfig.dtsConfig
I have SSIS package which pulls the data from Excel(.xls) file and load the
I have a SSIS package where I pull data from a flat file into
We have an SSIS package which reads from a DB, creates a flat file
I have a SSIS package that reads from a flat file source. The target

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.