Spring.Net 프레임워크를 사용하기 위해
app.config 또는 web.config에서 SectionGroup을 선언해주어야 한다.
그리고 이 선언을 통하여 하단부에 SectionGroup에 대한 본문(?)을 생성해야한다.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<!-- 어플리케이션에서 사용될 object를 생성하기 위한 설정 -->
<sectionGroup name="spring">
<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core"/>
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />
</sectionGroup>
<sectionGroup name="common">
<!-- 스프링 프레임워크에서 실행되는 로그를 보기위한 설정 -->
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
</sectionGroup>
<!-- 어플리케이션에서 찍고싶은 로그를 원하는 형태로 설정 -->
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
...
</configuration>