[log4j] log 파라미터 추가
2014. 3. 7. 10:32ㆍEtc../log
1) lib 추가 : log4sql.jar
2) Driver 변경 : ex) core.log.jdbc.driver.OracleDriver
- 아래 표를 참고하여 해당 DB DriverClass에 따라 입력해준다!
(참고) http://log4sql.sourceforge.net/index_kr.html
JDBC TYPE | Origin Your Driver Class | log4sql Driver Class | ||
[ORACLE DRIVER CLASS] | oracle.jdbc.drirver.OracleDriver | -> | core.log.jdbc.driver.OracleDriver | |
[MYSQL DRIVER CLASS] | com.mysql.jdbc.Driver' or'org.gjt.mm.mysql.Driver | -> | core.log.jdbc.driver.MysqlDriver | |
[SYBASE DRIVER CLASS] | com.sybase.jdbc2.jdbc.SybDriver | -> | core.log.jdbc.driver.SybaseDriver | |
[DB2 DRIVER CLASS] | com.ibm.db2.jcc.DB2Driver | -> | core.log.jdbc.driver.DB2Driver | |
[INFOMIX DRIVER CLASS] | com.informix.jdbc.IfxDriver | -> | core.log.jdbc.driver.InfomixDriver | |
[POSTGRESQL DRIVER CLASS] | org.postgresql.Driver | -> | core.log.jdbc.driver.PostgresqlDriver | |
[MAXDB DRIVER CLASS] | com.sap.dbtech.jdbc.DriverSapDB | -> | core.log.jdbc.driver.MaxDBDriver | |
[FRONTBASE DRIVER CLASS] | com.frontbase.jdbc.FBJDriver | -> | core.log.jdbc.driver.FrontBaseDriver | |
[HSQL DRIVER CLASS] | org.hsqldb.jdbcDriver | -> | core.log.jdbc.driver.HSQLDriver | |
[POINTBASE DRIVER CLASS] | com.pointbase.jdbc.jdbcUniversalDriver | -> | core.log.jdbc.driver.PointBaseDriver | |
[MIMER DRIVER CLASS] | com.mimer.jdbc.Driver | -> | core.log.jdbc.driver.MimerDriver | |
[PERVASIVE DRIVER CLASS] | com.pervasive.jdbc.v2.Driver | -> | core.log.jdbc.driver.PervasiveDriver | |
[DAFFODILDB DRIVER CLASS] | in.co.daffodil.db.jdbc.DaffodilDBDriver | -> | core.log.jdbc.driver.DaffodiLDBDriver | |
[JDATASTORE DRIVER CLASS] | com.borland.datastore.jdbc.DataStoreDriver | -> | core.log.jdbc.driver.JdataStoreDriver | |
[CACHE DRIVER CLASS] | com.intersys.jdbc.CacheDriver | -> | core.log.jdbc.driver.CacheDriver | |
[DERBY DRIVER CLASS] | org.apache.derby.jdbc.ClientDriver | -> | core.log.jdbc.driver.DerbyDriver | |
[ALTIBASE DRIVER CLASS] | Altibase.jdbc.driver.AltibaseDriver | -> | core.log.jdbc.driver.AltibaseDriver | |
[MCKOI DRIVER CLASS] | com.mckoi.JDBCDriver | -> | core.log.jdbc.driver.MckoiDriver | |
[JSQL DRIVER CLASS] | com.jnetdirect.jsql.JSQLDriver | -> | core.log.jdbc.driver.JsqlDriver | |
[JTURBO DRIVER CLASS] | com.newatlanta.jturbo.driver.Driver | -> | core.log.jdbc.driver.JturboDriver | |
[JTDS DRIVER CLASS] | net.sourceforge.jtds.jdbc.Driver | -> | core.log.jdbc.driver.JTdsDriver | |
[INTERCLIENT DRIVER CLASS] | interbase.interclient.Driver | -> | core.log.jdbc.driver.InterClientDriver | |
[PURE JAVA DRIVER CLASS] | org.firebirdsql.jdbc.FBDriver | -> | core.log.jdbc.driver.PureJavaDriver | |
[JDBC-ODBC DRIVER CLASS] | sun.jdbc.odbc.JdbcOdbcDriver | -> | core.log.jdbc.driver.JdbcOdbcDriver | |
[MSSQL 2000 DRIVER CLASS] | com.microsoft.jdbc.sqlserver.SQLServerDriver | -> | core.log.jdbc.driver.MssqlDriver | |
[MSSQL 2005 DRIVER CLASS] | com.microsoft.sqlserver.jdbc.SQLServerDriver | -> | core.log.jdbc.driver.Mssql2005Driver | |
[cubrid driver class] | cubrid.jdbc.driver.CUBRIDDriver | -> | core.log.jdbc.driver.CUBRIDDriver |
'Etc.. > log' 카테고리의 다른 글
[Log4j] log 4 j 설정방법 (Servlet) (0) | 2014.05.19 |
---|