WCF web log can be logged via setting its web.config
来源:互联网 发布:信息推广软件 编辑:程序博客网 时间:2024/06/17 22:11
in its web.config. you can add the following items, all actions will be logged into the file C:\Program Files\web_messages.svclog. you can open it with a tool "Microsoft sErvice trace viewer" tool
<?xml version="1.0"?>
<configuration><system.diagnostics>
<sources>
<source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing">
<listeners>
<add type="System.Diagnostics.DefaultTraceListener" name="Default">
<filter type="" />
</add>
<add name="ServiceModelMessageLoggingListener">
<filter type="" />
</add>
</listeners>
</source>
</sources>
<sharedListeners>
<add initializeData="C:\Program Files\web_messages.svclog"
type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp">
<filter type="" />
</add>
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
- WCF web log can be logged via setting its web.config
- WCF 配置web.config
- This message can be disabled via the detect_slow_plugins global setting。
- ASP.NET - Web.Config - Using the tag with web.config can be helpful.
- WCF中的web.config配置文件
- web.config in WCF Rest
- Silverlight 通信WCF 服务器Web.Config 配置
- restful wcf 配置web.config要点
- WCF中Web.config的配置
- WCF Server Configuration in Web.config or App.config
- WCF 通过web.config配置文件解决传输内容过大问题
- web.config
- web.config
- web.config
- web.config
- WEB.CONFIG
- web.config
- web.config
- 运维小记
- 软件测试类工具大全2009版
- Quantum的权限认证(3)
- No.4 在二元树中找出和为某一值的所有路径
- Highcharts纯Javascript图表使用讲解
- WCF web log can be logged via setting its web.config
- 十四种前端框架
- hdu 2859
- 用foreach实现遍历多维数组并打印数组值
- MTRR (Memory Type Range Register) control
- 宏与内联函数(面试常考)
- [iOS]Xcode解决代码高亮、语法提示、错误警告等功能失效的解决方法
- c# 方法委托
- Md5