Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 09, 2013 04:29 PM by ashkc
Member
36 Points
31 Posts
Oct 26, 2012 11:24 AM|LINK
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
Participant
960 Points
200 Posts
Jan 09, 2013 04:29 PM|LINK
<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
AnuMohan
Member
36 Points
31 Posts
Enterprise library 5 - Hedder to log file
Oct 26, 2012 11:24 AM|LINK
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
ashkc
Participant
960 Points
200 Posts
Re: Enterprise library 5 - Hedder to log file
Jan 09, 2013 04:29 PM|LINK
<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