| <?xml version="1.0" encoding="utf-8" ?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| |
| <!-- |
| .NET application configuration file |
| |
| This file must have the exact same name as your application with |
| .config appended to it. For example if your application is testApp.exe |
| then the config file must be testApp.exe.config it mut also be in the |
| same directory as the application. |
| --> |
| <configuration> |
| <!-- Register a section handler for the log4net section --> |
| <configSections> |
| <section name="log4net" type="System.Configuration.IgnoreSectionHandler" /> |
| </configSections> |
| <!-- Enable internal debugging in log4net --> |
| <appSettings> |
| <!-- To enable internal log4net logging specify the |
| following appSettings key --> |
| |
| <!-- <add key="log4net.Internal.Debug" value="true"/> --> |
| </appSettings> |
| <!-- This section contains the log4net configuration settings --> |
| <log4net> |
| <!-- Define some output appenders --> |
| <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > |
| <layout type="log4net.Layout.PatternLayout"> |
| <conversionPattern value="%date [%thread] %-5level %logger [%ndc] ID=%property{EventID} - %message%newline" /> |
| </layout> |
| </appender> |
| <!-- Setup the root category, add the appenders and set the default level --> |
| <root> |
| <level value="INFO" /> |
| <appender-ref ref="ConsoleAppender" /> |
| </root> |
| </log4net> |
| </configuration> |