c# - WCF trace log override old messages -


i limit number of log files wcf trace writing. in order so, used maxmessagestolog attribute. happen when gets limit, let 2000 messages? stop writing or override old messages?

i override old message. how i'm doing it? best practice?

thanks

you can implement circular trace listener reach want. can set maximum file size trace log can get. after reaching old entries overridden.

see sample , explanation on msdn


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -