locked
Enterprise library 5 - Hedder to log file RRS feed

  • Question

  • User1196200869 posted

    hi all

    How can I add hedder/title at the top of the log file. I am using Rolling Flat File type.

    Thanks & regards

    Anu

    Friday, October 26, 2012 7:24 AM

All replies

  • User1221318268 posted

    <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" />

     

    Regards,

    thotakura

    Wednesday, January 9, 2013 12:29 PM