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

  • SEARCH
  • Home
  • 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 7904723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:12:15+00:00 2026-06-03T10:12:15+00:00

Can the Enterprise Library 5.0 Logging Application Block be configured to roll the log

  • 0

Can the Enterprise Library 5.0 Logging Application Block be configured to roll the log file every day at a specified time (e.g. at 3:00 PM)?

The relevant options of rollInterval are day and midnight. I’m not sure what the difference is, but midnight certainly isn’t the right choice, and I don’t see how to configure at what hour to perform a roll when using day (is it actually identical to midnight?).

  • 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-03T10:12:17+00:00Added an answer on June 3, 2026 at 10:12 am

    If the RollInterval is set to Midnight the log file will roll after midnight (i.e. the next day). If the RollInterval is set to Day then the log file will roll after a full day has passed since the log file was created (i.e. 24 hours from the start).

    I don’t believe that the LoggingApplication Block has a setting to roll the log file at a specific time. If you wanted that functionality, you would have to create a custom Trace Listener (which can be based on the existing Rolling Flat File Trace Listener).

    The Caching Application Block provides an ExtendedFormat for cache item expirations that could be used as the basis of a more flexible rolling file “expiration” scheme.

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

Sidebar

Related Questions

I'm using the Enterprise Library Logging application block to allow my application to log
Using the Enterprise Library 4.1 Validation Application Block, how can I validate that a
Can anyone tell me why i should use the Enterprise library Data application block
I've got a project that I'm working Enterprise Library logging into, and that application
I am using Enterprise Library 4.x for my exception handling logging (ASP.NET application). Here
Enterprise Library Validation Application Block (VAB) integrates with ASP.NET and also with WCF. Is
I'm using Enterprise Library 3.1 for logging exceptions for some web application. All exceptions
I am using Microsoft Enterprise library 5.0 for application logging of my .net application.
We have an ASP.NET 2.0 application that uses Enterprise Library Data Access Application Block
Using Enterprise Library 5.0 Logging Block in .NET 4.0 which is the only Block

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.