<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Fred Xu的技术博客_分类_3rd Party Lib &amp; Utility</title><id>http://feed.cnblogs.com/blog/u/43880/category/315043/rss</id><updated>2012-05-27T12:42:18Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/category/315043.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/43880/category/315043/rss"/><entry><id>http://www.cnblogs.com/Fred_Xu/archive/2012/02/08/Configure-Log4net-to-write-to-multiple-files-by-level.html</id><title type="text">Log4net按照不同级别写入多个日志文件</title><summary type="text">在一个Web应用项目中，我使用了Fluent NHibernate作为数据访问组件，Log4net来做日志记录。实际编码中，主要使用了INFO和ERROR这两个等级来记录日志，如果按照以下Log4net配置：&lt;root&gt; &lt;level value="ALL"/&gt; &lt;appender-ref ref="RollingFile"/&gt; &lt;appender-ref ref="RollingFileTracer"/&gt;&lt;/root&gt;log4net会把INFO和ERROR的日志记录到同一个</summary><published>2012-02-08T07:06:00Z</published><updated>2012-02-08T07:06:00Z</updated><author><name>Fred_Xu</name><uri>http://www.cnblogs.com/Fred_Xu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Fred_Xu/archive/2012/02/08/Configure-Log4net-to-write-to-multiple-files-by-level.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/archive/2012/02/08/Configure-Log4net-to-write-to-multiple-files-by-level.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/Fred_Xu/archive/2011/08/09/fluent-interface-for-webrequest-class.html</id><title type="text">Fluent Interface for WebRequest class</title><summary type="text">以前，我经常使用WebRequest来获取远程端的数据，我也使用它来从Google APIs获取JSON数据，从其他一些远程端获取RSS、ATOM数据，一切都很正常，我只是这样来写代码：var buffer = Encoding.ASCII.GetBytes("q=Queen Elizabeth II&amp;video=on&amp;audio=on&amp;text=on"); var webReq = (HttpWebRequest)WebRequest.Create("http://www.bbc.co.uk/search/news/"); we</summary><published>2011-08-09T04:53:00Z</published><updated>2011-08-09T04:53:00Z</updated><author><name>Fred_Xu</name><uri>http://www.cnblogs.com/Fred_Xu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Fred_Xu/archive/2011/08/09/fluent-interface-for-webrequest-class.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Fred_Xu/archive/2011/08/09/fluent-interface-for-webrequest-class.html"/><content type="html"/></entry></feed>
