google-code-export / mybatis

Automatically exported from code.google.com/p/mybatis
0 stars 0 forks source link

Ability to provide custom logging implementation #728

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
MyBatis completely delegates logging to implementations like SLF4J or log4j. 
The drawback is that it's not possible to programmatically change logging 
configuration when the application is wrapped into a JEE server or a 
bootstrapper like Maven plugin. 
For this reason org.apache.ibatis.logging.LogFactory should provide a method 
useCustomLogging(Log) in order to provide its own implementation.

Original issue reported on code.google.com by simon.br...@gmail.com on 30 Nov 2012 at 10:35

GoogleCodeExporter commented 9 years ago
Simon, please check this revision r5491 and tell us if that work for you. 

Original comment by eduardo.macarron on 1 Dec 2012 at 8:01

GoogleCodeExporter commented 9 years ago

Original comment by eduardo.macarron on 14 Dec 2012 at 8:46