| <?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 ConsoleApp.exe then the config file must be ConsoleApp.exe.config. |
| It must 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> |
| |
| <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> |
| |
| <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> |
| <layout type="SampleLayoutsApp.Layout.LineWrappingLayout,SampleLayoutsApp"> |
| <indent value="8" /> |
| <layout type="log4net.Layout.PatternLayout" value="%date [%thread] %-5level %logger - %message%newline" /> |
| </layout> |
| </appender> |
| |
| <!-- Setup the root category, add the appenders and set the default level --> |
| <root> |
| <level value="ALL" /> |
| |
| <appender-ref ref="ConsoleAppender" /> |
| </root> |
| |
| </log4net> |
| </configuration> |