开发者

Enterprise Library 5.0: Bug in exception logging to rolling log file?

开发者 https://www.devze.com 2023-01-06 06:19 出处:网络
So, what I\'m try开发者_运维问答ing to accomplish is that my exceptions get logged into the rolling log file (which I use for other things, especially tracing - which is VERY important in the environm

So, what I'm try开发者_运维问答ing to accomplish is that my exceptions get logged into the rolling log file (which I use for other things, especially tracing - which is VERY important in the environment I'm working in - too).

Problem is that I get all traces into rolling.log, but the exceptions get logged into files with the following name scheme:

{guid}rolling.log

Smells like a bug...

Edit:

Found the solution. The log - file is locked, EntLib creates a new one with that "Guided" (pun not intended, it just happened) name. Case closed. :-)

0

精彩评论

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