<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>frontline</author_name>
  <author_url>https://blog.hatena.ne.jp/frontline/</author_url>
  <blog_title>misc.log</blog_title>
  <blog_url>https://www.backyrd.net/</blog_url>
  <categories>
    <anon>業務日誌</anon>
    <anon>業務日誌.NET</anon>
  </categories>
  <description>WCFサービスで、ロギングにlog4netを使いたいのだけれど、設定ファイルの読み込みをどうしようか迷ってます。これまでずっとやってきたのは、下記のようなコードで設定ファイルのパスとファイル名を指定するという方法でした。 static protected ILog logger = LogManager.GetLogger(&quot;CPLogger&quot;); public TestClass() { log4net.Config.XmlConfigurator .Configure(new System.IO.FileInfo( AppDomain.CurrentDomain.BaseDirectory…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.backyrd.net%2Fentry%2F20140209%2F1391934548&quot; title=&quot;WCFサービスでlog4netを使う（設定ファイルをweb.configに書く） - misc.log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://ecx.images-amazon.com/images/I/51wILUngzIL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-02-09 17:29:08</published>
  <title>WCFサービスでlog4netを使う（設定ファイルをweb.configに書く）</title>
  <type>rich</type>
  <url>https://www.backyrd.net/entry/20140209/1391934548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
