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
Post a Comment