开发者

How long are logs kept when using elmah in-memory logging?

开发者 https://www.devze.com 2023-04-05 06:04 出处:网络
开发者_如何学GoHow long are error log entries kept in memory when using Elmah In-Memory Logging? I have Elmah setup for a web service that uses that logger type.There are no time limit - log entries w
开发者_如何学Go

How long are error log entries kept in memory when using Elmah In-Memory Logging? I have Elmah setup for a web service that uses that logger type.


There are no time limit - log entries will be kept until the application restarts. But there is a limit for number of stored entries: MemoryErrorLog from ELMAH 1.2 can remember up to 500 errors (15 by default).

0

精彩评论

暂无评论...
验证码 换一张
取 消