diff --git a/src/log4j.properties b/src/log4j.properties new file mode 100644 index 0000000..92bd436 --- /dev/null +++ b/src/log4j.properties @@ -0,0 +1,8 @@ +# Global logging configuration +log4j.rootLogger=ERROR, stdout +# MyBatis logging configuration... +log4j.logger.com.itheima=DEBUG +# Console output... +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n \ No newline at end of file