[
https://issues.apache.org/jira/browse/LOG4NET-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ron Grabowski resolved LOG4NET-207.
-----------------------------------
Resolution: Invalid
This is a Visual Studio warning...not an error preventing your program from
running. Log4net's xml configuration processor sets properties on arbitrary
objects so its nearly impossible to express the structure of the document like
a conventional xml document.
> Could not find schema information for the element 'log4net'
> -----------------------------------------------------------
>
> Key: LOG4NET-207
> URL: https://issues.apache.org/jira/browse/LOG4NET-207
> Project: Log4net
> Issue Type: Bug
> Affects Versions: 1.2.10
> Environment: visual studio 2008 with .net 3.5
> Reporter: ghinwa badawi
> Priority: Blocker
>
> Hi,
> i have tried to use log4net in a windows service on VS2008 - .Net Framework:
> 3.5,
> I added the following in the app.config file :
> <configSections>
> <section name="log4net"
> type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
> </configSections>
>
> <log4net>
> <appender name="FileAppender" type="log4net.Appender.FileAppender">
> <file value="C:\logfile.txt" />
> <appendToFile value="true" />
> <layout type="log4net.Layout.PatternLayout">
> <conversionPattern value="%date [%thread] %-5level %logger
> [%property{NDC}] - %message%newline" />
> </layout>
> </appender>
> <root>
> <level value="DEBUG" />
> <appender-ref ref="FileAppender" />
> </root>
> </log4net>
>
> but i am getting the below message:
> "Message 5 Could not find schema information for the element 'log4net'.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.