Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">

<jee:jndi-lookup id="${txtDatasourceName}" jndi-name="${txtJndiName}" resource-ref="true">
<jee:environment>
java.naming.factory.initial=${txtFactoryInitial}
java.naming.provider.url=${txtProviderUrl}
</jee:environment>
</jee:jndi-lookup>

</beans>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>

<appender name="${txtAppenderName}" class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="${txtLogFileName}" />
<param name="Append" value="${cboAppend}" />
<param name="DatePattern" value="${txtDatePattern}" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="${txtConversionPattern}" />
</layout>
</appender>

<logger name="org.springframework" additivity="false">
<level value="DEBUG" />
<appender-ref ref="${txtAppenderName}" />
</logger>

<root>
<level value="OFF" />
<appender-ref ref="${txtAppenderName}" />
</root>

</log4j:configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>

<appender name="${txtAppenderName}" class="org.apache.log4j.db.EgovDBAppender">
<!-- caller_filename, caller_class, caller_method, caller_line -->
<param name="locationInfo" value="${chkLocationInfo}" />
<!-- Oracle 인 경우 아래를 false 로 설정 또는 아래 옵션 라인 삭제(기본 false) -->
<param name="useSupportsGetGeneratedKeys" value="${chkSupportsGetGeneratedKeys}" />
<connectionSource class="org.apache.log4j.db.DriverManagerConnectionSource">
<param name="driverClass" value="${txtDriver}" />
<param name="url" value="${txtUrl}" />
<param name="user" value="${txtUser}" />
<param name="password" value="${txtPasswd}" />
</connectionSource>
</appender>

<logger name="org.springframework" additivity="false">
<level value="DEBUG" />
<appender-ref ref="${txtAppenderName}" />
</logger>

<root>
<level value="OFF" />
<appender-ref ref="${txtAppenderName}" />
</root>

</log4j:configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>

<appender name="${txtAppenderName}"
class="egovframework.rte.fdl.logging.db.EgovJDBCAppender">
<!-- caller_filename, caller_class, caller_method, caller_line -->
<param name="locationInfo" value="${chkLocationInfo}" />
<param name="sql"
value="INSERT INTO logging_event (
sequence_number, timestamp, rendered_message,
logger_name, level_string, ndc,
thread_name, reference_flag,
caller_filename, caller_class,
caller_method, caller_line)
VALUES
('%X{sequence_number}', '%X{timestamp}', '%X{rendered_message}',
'%X{logger_name}', '%X{level_string}', '%X{ndc}',
'%X{thread_name}', '%X{reference_flag}',
'%X{caller_filename}', '%X{caller_class}',
'%X{caller_method}', '%X{caller_line}')" />
</appender>

<logger name="org.springframework" additivity="false">
<level value="DEBUG" />
<appender-ref ref="${txtAppenderName}" />
</logger>

<root>
<level value="OFF" />
<appender-ref ref="${txtAppenderName}" />
</root>

</log4j:configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">

<bean id="${txtTransactionName}" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="${txtDatasourceName}"/>
</bean>


</beans>

This file was deleted.

This file was deleted.

Loading