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 8022781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:22:09+00:00 2026-06-04T22:22:09+00:00

I have configured logging to be done in a rolling log file and event

  • 0

I have configured logging to be done in a rolling log file and event log. However, what happens is if one fails, the second one don’t succeed either. Is there a way I can configure EntLib to try both before failing?

  • 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-04T22:22:12+00:00Added an answer on June 4, 2026 at 10:22 pm

    The logic on processing the Trace Listeners is deep within the implementation of Enterprise Library so there is no built-in way to configure.

    One alternative is to download the source code and make the changes that you want, rebuild and use that custom version of Enterprise Library.

    Another approach would be to use Unity to inject custom code to add the additional logic to process multiple trace listeners if an error occurs. You’ll have to recreate much of the Enterprise Library logic but you wouldn’t have to directly modify Enterprise Library source. You can find the full details for the latter approach at http://randylevy.wordpress.com/2012/04/04/enterprise-library-logging-extensions-part-2/.

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

Sidebar

Related Questions

I have configured log4Net EventLogAppender for Asp.Net 2.0. However it does not log anything.
We have Enterprise Library 4.1 logging set up to write to the Event Log
I have configured my Web.Config file as follow in a ASP.NET MVC 2 project:
I have configured the properies file in JBoss AS 6 using properties-service.xml . here
I have a question regarding logging in a Java application. I want to log
I'm using Enterprise Library 4.1 and I've configured the Logging Application Block to log
I have a web application that dumps logging information in a file using log4j
We have configured logback for our logging needs in our application. When we run
I have a servlet and I want to log in the file: catalina-< date
I have configured java to dump garbage collection information into the logs ( verbose

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.