Empty the log file every time I write with Enterprise Library Logging -


i have enterprise library logging used in project working fine, need last entry saved @ time. there configuration that?

below current configuration.

 <add name="workflowlistener" formatter="workflow formatter" filename="..\@data\logs\workflow_log.txt" timestamppattern="yyyy-mm-dd-hh-mm-ss" rollfileexistsbehavior="overwrite" rollinterval="none" header="" footer="" traceoutputoptions="none" type="microsoft.practices.enterpriselibrary.logging.tracelisteners.rollingflatfiletracelistener, microsoft.practices.enterpriselibrary.logging, version=6.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" /> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -