where enterprise library 4.1 logger, logs?

送分小仙女□ 提交于 2019-12-01 22:18:02

You need to configure one or more Trace Listeners. Also see Configuration Overview

Edit 1 Thank you for an example of you config file. You are logging your messages into Application Event Log. Please open this Event Log as you normally do and you'll be able to see your messages in there.

Edit 2 In your original question you asked where the messages are logged. This answer has been provided to you. When you write a question, it's better to specify upfront, what are you trying to achieve. To log into a flat file, after you configured a flat file listener you need to add reference to this listener to your sources. See how it's done with the Event Log trace listener in your example and follow the same pattern.

This is correct. Authentication has been added to the email tracelistener in v5.0.

If you must use v4.1, there's a version of the email tracelistener with authentication on EntLibContrib.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!