{"action":"created","issue":{"url":"https://api.github.com/repos/cjbhaines/Log4Net.Async/issues/26","repository_url":"https://api.github.com/repos/cjbhaines/Log4Net.Async","labels_url":"https://api.github.com/repos/cjbhaines/Log4Net.Async/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/cjbhaines/Log4Net.Async/issues/26/comments","events_url":"https://api.github.com/repos/cjbhaines/Log4Net.Async/issues/26/events","html_url":"https://github.com/cjbhaines/Log4Net.Async/issues/26","id":162852047,"number":26,"title":"ParallelForwardingAppender not logging","user":{"login":"KamranShahid","id":2170442,"avatar_url":"https://avatars.githubusercontent.com/u/2170442?v=3","gravatar_id":"","url":"https://api.github.com/users/KamranShahid","html_url":"https://github.com/KamranShahid","followers_url":"https://api.github.com/users/KamranShahid/followers","following_url":"https://api.github.com/users/KamranShahid/following{/other_user}","gists_url":"https://api.github.com/users/KamranShahid/gists{/gist_id}","starred_url":"https://api.github.com/users/KamranShahid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamranShahid/subscriptions","organizations_url":"https://api.github.com/users/KamranShahid/orgs","repos_url":"https://api.github.com/users/KamranShahid/repos","events_url":"https://api.github.com/users/KamranShahid/events{/privacy}","received_events_url":"https://api.github.com/users/KamranShahid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-29T06:43:03Z","updated_at":"2016-07-07T12:43:21Z","closed_at":null,"body":"I have configured ParallelForwardingAppender  but logging to file is not hapening\r\nDetails are as below\r\nI have a web application on which reference log4net.asyc library and added the section \r\n\r\n```\r\n<configSections>\r\n      <section name=\"log4net\" type=\"log4net.Config.Log4NetConfigurationSectionHandler,log4net\" />\r\n  </configSections>\r\n\r\nMy log4net config is as following.\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n<log4net>\r\n  <appender name=\"RollingLogFileAppender\" type=\"log4net.Appender.RollingFileAppender\" >\r\n    <file value=\"..\\\\Logs\\\\Logfile.txt\" />\r\n    <appendToFile value=\"true\" />\r\n    <datePattern value=\"yyyyMMdd\" />\r\n    <rollingStyle value=\"Date\"/>    \r\n    <filter type=\"log4net.Filter.LevelRangeFilter\">\r\n      <acceptOnMatch value=\"true\" />\r\n      <levelMin value=\"DEBUG\" />\r\n      <levelMax value=\"FATAL\" />\r\n    </filter>\r\n    <layout type=\"log4net.Layout.PatternLayout\">\r\n      <conversionPattern value=\"%d{yyyy-MM-dd HH:mm:ss.fff} %10p %-5property{_App} %-5property{_Node} [%2t] %5c{1}.%M - %m%n\" />\r\n    </layout>\r\n  </appender>\r\n  <appender name=\"asyncForwarder\" type=\"Log4Net.Async.ParallelForwardingAppender,Log4Net.Async\">\r\n    <appender-ref ref=\"RollingLogFileAppender\" />\r\n    <bufferSize value=\"200\" />\r\n  </appender>\r\n  <appender name=\"AdoNetAppender\" type=\"log4net.Appender.AdoNetAppender\">\r\n    <reconnectOnError value=\"true\" />\r\n    <connectionType value=\"MySql.Data.MySqlClient.MySqlConnection, MySql.Data\" />\r\n    <connectionString value=\"data source=localhost;Port=3306;initial catalog=logging_db;User ID=root;Password=;Max Pool Size=25;\" />    \r\n    <commandText value=\"AddLogEntry\" />\r\n    <commandType value=\"StoredProcedure\" />\r\n    <bufferSize value=\"25\" />\r\n    <useTransactions value=\"false\" />\r\n    <parameter>\r\n      <parameterName value=\"_appname\" />\r\n      <dbType value=\"String\" />\r\n      <size value=\"32\" />\r\n      <layout type=\"log4net.Layout.PatternLayout\">\r\n        <conversionPattern value=\"Boloro Web Service\" />\r\n      </layout>\r\n    </parameter>\r\n    <parameter>\r\n      <parameterName value=\"_action\" />\r\n      <dbType value=\"String\" />\r\n      <size value=\"45\" />\r\n      <layout type=\"log4net.Layout.PatternLayout\">\r\n        <conversionPattern value=\"%c{1}\" />\r\n      </layout>\r\n    </parameter>\r\n    <parameter>\r\n      <parameterName value=\"_level\" />\r\n      <dbType value=\"String\" />\r\n      <size value=\"10\" />\r\n      <layout type=\"log4net.Layout.PatternLayout\">\r\n        <conversionPattern value=\"%p\" />\r\n      </layout>\r\n    </parameter>\r\n    <parameter>\r\n      <parameterName value=\"_thread_id\" />\r\n      <dbType value=\"String\" />\r\n      <size value=\"10\" />\r\n      <layout type=\"log4net.Layout.PatternLayout\">\r\n        <conversionPattern value=\"%t\" />\r\n      </layout>\r\n    </parameter>\r\n    <parameter>\r\n      <parameterName value=\"_context\" />\r\n      <dbType value=\"String\" />\r\n      <size value=\"45\" />\r\n      <layout type=\"log4net.Layout.PatternLayout\">\r\n        <conversionPattern value=\"%M\" />\r\n      </layout>\r\n    </parameter>\r\n    <parameter>\r\n      <parameterName value=\"_context_id\" />\r\n      <dbType value=\"String\" />\r\n      <size value=\"128\" />\r\n      <layout type=\"log4net.Layout.RawPropertyLayout\">\r\n        <key value=\"context_id\" />\r\n      </layout>\r\n    </parameter>   \r\n    <filter type=\"log4net.Filter.LevelRangeFilter\">\r\n      <acceptOnMatch value=\"true\" />\r\n      <levelMin value=\"DEBUG\" />\r\n      <levelMax value=\"FATAL\" />\r\n    </filter>\r\n  </appender>\r\n  <root>\r\n    <level value=\"ALL\" />\r\n    <appender-ref ref=\"asyncForwarder\" /> \r\n    <!--<appender-ref ref=\"AdoNetAppender\" />-->\r\n  </root>\r\n  <logger name=\"Boloro.Business.RuleEngine.ConditionComparer\" additivity=\"false\">\r\n    <level value=\"ALL\" />\r\n    <appender-ref ref=\"RollingLogFileAppender\" />\r\n  </logger>\r\n</log4net>\r\n```\r\n\r\nPlease let me know what wrong i am doing"},"comment":{"url":"https://api.github.com/repos/cjbhaines/Log4Net.Async/issues/comments/231066494","html_url":"https://github.com/cjbhaines/Log4Net.Async/issues/26#issuecomment-231066494","issue_url":"https://api.github.com/repos/cjbhaines/Log4Net.Async/issues/26","id":231066494,"user":{"login":"PoorDesigner","id":18352609,"avatar_url":"https://avatars.githubusercontent.com/u/18352609?v=3","gravatar_id":"","url":"https://api.github.com/users/PoorDesigner","html_url":"https://github.com/PoorDesigner","followers_url":"https://api.github.com/users/PoorDesigner/followers","following_url":"https://api.github.com/users/PoorDesigner/following{/other_user}","gists_url":"https://api.github.com/users/PoorDesigner/gists{/gist_id}","starred_url":"https://api.github.com/users/PoorDesigner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoorDesigner/subscriptions","organizations_url":"https://api.github.com/users/PoorDesigner/orgs","repos_url":"https://api.github.com/users/PoorDesigner/repos","events_url":"https://api.github.com/users/PoorDesigner/events{/privacy}","received_events_url":"https://api.github.com/users/PoorDesigner/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T12:43:21Z","updated_at":"2016-07-07T12:43:21Z","body":"If you need the code for it here is it\r\n\r\n ```\r\n<system.diagnostics>\r\n    <trace autoflush=\"true\">\r\n      <listeners>\r\n        <add\r\n            name=\"textWriterTraceListener\"\r\n         type=\"System.Diagnostics.TextWriterTraceListener\"\r\n         initializeData=\"C:\\Path\\log4net.txt\" />\r\n      </listeners>\r\n    </trace>\r\n  </system.diagnostics>\r\n```\r\n\r\n<appSettings>\r\n      <add key=\"log4net.Internal.Debug\" value=\"true\"/>\r\n   </appSettings>"}}
{"actor":{"display_login":"PoorDesigner"}}