English 中文(简体)
企业图书馆没有正确记录
原标题:Enterprise library not logging severity correctly

我对企业图书馆5有问题。 它向会议撰写了所有信息,我想要书写,但是它不尊重我召集的严酷环境。

我的特例处理组认为:

<exceptionHandlers>
  <add name="Logging Exception Handler"
       type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging...,"
       logCategory="General"
       eventId="10000"
       severity="Critical"
       title="My unknown error"
       formatterType="Micros...ExceptionFormatter, Micros...ExceptionHandling"
       priority="0" />
</exceptionHandlers>

5. 我的活动记录员听器模板首先从:

Severity: {severity}{newline}

活动日志的条目被标为“错误”,而不是“书面”,但实际封存的信息含有“严重性:关键”的案文。

是否有任何要点表明,如果我实际上不必写出自己的例外,我怎么能够将例外视为关键?

最佳回答

The behavior you are seeing is part of the .NET API.

。 E amountation, which is used to sign to the event Carlo. >TraceEventTpey, 供企业图书馆和......使用。 该网络追踪基础设施确实支持严苛。

然而,在<代码>System.Diagnostics.Event CarloTraceListener内,用于记录事件记录仪,这是一个关键<代码>。 履历表 事故记录仪表

在活动观察家is 关键过滤器中,这一级似乎保留在低级误差上。 例如,斜体是相关的。

问题回答

暂无回答




相关问题
Best logging approach for composite app?

I am creating a Composite WPF (Prism) app with several different projects (Shell, modules, and so on). I am getting ready to implement logging, using Log4Net. It seems there are two ways to set up the ...

How to make logging.debug work on Appengine?

I m having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an ...

How to validate Java logging properties files?

I have a basic facility for allowing users to remotely apply changes to the logging files in my application. Some logs are configured using java.util.logging properties files, and some are configured ...

Logging SAS scripts

I ve been developing a lot of Java, PHP and Python. All of which offer great logging packages (Log4J, Log or logging respectively). This is a great help when debugging applications. Especially if the ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

热门标签