FreeAndNil commented on issue #153:
URL: 
https://github.com/apache/logging-log4net/issues/153#issuecomment-2831126224

   @TheSundayDev your config file is not well formed (it has more than one root 
element).
   It need to look like this:
   ```xml
   <?xml version="1.0" encoding="utf-8" ?>
   <configuration>
     <configSections>
       <section name="log4net" 
type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
     </configSections>
     <log4net>
       <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" 
>
         <layout type="log4net.Layout.PatternLayout">
           <conversionPattern value="%date| %level | %message%newline" />
         </layout>
       </appender>
       <root>
         <level value="INFO" />
         <appender-ref ref="ConsoleAppender" />
       </root>
     </log4net>
   </configuration>
   ```
   
   The `<configuration>` nodes as root was missing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to