Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a sql two output #51

Open
GoogleCodeExporter opened this issue Mar 30, 2015 · 1 comment
Open

a sql two output #51

GoogleCodeExporter opened this issue Mar 30, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

problem:
  a sql two output

problem sample
※※※※※※※※※※※※※※※※※※※※※※※※※※��
�※※※※※※※※※※※※※※※※※※※※※※※※※※�
��※※
2012-07-31 12:08:35,431 [INFO ] sqltiming sqlTimingOccured - 
    insert 
    into
        USERINFO

    values
        ('wqeqw','213123','M','WAR,PEOPLE,','tianjin','dadfasf')  {executed in 31 msec}
2012-07-31 12:08:35,431 [INFO ] sqltiming sqlTimingOccured - 
    insert 
    into
        USERINFO

    values
        ('wqeqw','213123','M','WAR,PEOPLE,','tianjin','dadfasf')  {executed in 31 msec}
※※※※※※※※※※※※※※※※※※※※※※※※※※��
�※※※※※※※※※※※※※※※※※※※※※※※※※※�
��※※

log4j.properties's configuration
※※※※※※※※※※※※※※※※※※※※※※※※※※��
�※※※※※※※※※※※※※※※※※※※※※※※※※※�
��※※
# ルートはINFOレベルで stdout, file を使います。
log4j.rootCategory=INFO, stdout, file

# コンソール出力(stdout)
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%-5p] %c{1} %M - %m%n

## ファイル出力(file) ログファイルをローリングさせる場合
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=C:/app.log
log4j.appender.file.Append=true
## 最大1MBまで書き込みます
log4j.appender.file.MaxFileSize=1MB
## log/app.log.9 まで保持します
log4j.appender.file.MaxBackupIndex=9
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d [%-5p] %c{1} %M - %m%n

## log4jdbcの配置
log4j.logger.jdbc.sqlonly=OFF    
log4j.logger.jdbc.sqltiming=INFO    
log4j.logger.jdbc.audit=OFF    
log4j.logger.jdbc.resultset=OFF    
log4j.logger.jdbc.connection=OFF   
※※※※※※※※※※※※※※※※※※※※※※※※※※��
�※※※※※※※※※※※※※※※※※※※※※※※※※※�
��※※



Original issue reported on code.google.com by [email protected] on 31 Jul 2012 at 5:33

@GoogleCodeExporter
Copy link
Author

version Info:
 log4jdbc4-1.2.1.jar
 slf4j-1.6.6
 Spring3.1

Original comment by [email protected] on 31 Jul 2012 at 9:00

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant