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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:18:36+00:00 2026-05-26T07:18:36+00:00

I am using logging application block for EL 5.0. I defined listener like below.

  • 0

I am using logging application block for EL 5.0. I defined listener like below.

    <add name="FlatFile TraceListener" type="Microsoft.Practices.EnterpriseLibrary.
Logging.TraceListeners.FlatFileTraceListener, 
Microsoft.Practices.EnterpriseLibrary.Logging"              
listenerDataType="Microsoft.Practices.EnterpriseLibrary.
    Logging.Configuration.FlatFileTraceListenerData, 
Microsoft.Practices.EnterpriseLibrary.Logging"
        fileName="C:\Temp\RssLog.log" header="--------------"
        footer="----------------------" formatter="Brief Format Text"
                      traceOutputOptions="None" filter="All" />

How can generate log file daily?. like today=Rsslog10182011.log tomorrow = Rsslog10182011.log?

  • 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-05-26T07:18:36+00:00Added an answer on May 26, 2026 at 7:18 am

    If you use a rolling flat file trace listener that will give you a file for each day. This is from EL 4.1 but it is the same for EL5.

            <add fileName=".\Logs\exception.log" footer="" formatter="Trace Formatter" header="" rollFileExistsBehavior="Overwrite" rollInterval="Midnight" rollSizeKB="0" timeStampPattern="yyyyMMdd" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" traceOutputOptions="Callstack" filter="All" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="Exception TraceListener"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the Logging Application Block (of Microsoft Enterprise Library 5.0) to log
I'm using the Microsoft Logging Application Block (version 5 beta 2) and I'm trying
I'm using MS logging application block for logging my application event into a file
I'm using the Enterprise Library Logging application block to allow my application to log
I'm using the Logging Application Block (LAB) in my ASP.NET application along with the
I'm using MS Enterprise Logging Application Block in an ASP.NET website. For production launch,
I'm using Enterprise Library 4.1 and I've configured the Logging Application Block to log
I'm using the Logging Application Block in my ASP.NET application and want to convert
I am using Logging Application block with C#.Net 2.0. My code is logging the
I integrated the Enterprise Library 5.0 Logging Application Block into my project using Nuget

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.