| | |
| | | <appender-ref ref="errorLog" /> |
| | | </root> |
| | | </springProfile> |
| | | <springProfile name="test"> |
| | | <!--打印SQL--> |
| | | <logger name="java.sql.Connection" level="DEBUG" /> |
| | | <logger name="java.sql.Statement" level="DEBUG" /> |
| | | <logger name="java.sql.PreparedStatement" level="DEBUG" /> |
| | | |
| | | <logger name="com.ycl.component" level="error" /> |
| | | |
| | | <logger name="com.ycl" level="debug" > |
| | | <appender-ref ref="normalLog" /> |
| | | <appender-ref ref="errorLog" /> |
| | | </logger> |
| | | |
| | | <root level="info"> |
| | | <appender-ref ref="Console" /> |
| | | <appender-ref ref="normalLog" /> |
| | | <appender-ref ref="errorLog" /> |
| | | </root> |
| | | </springProfile> |
| | | |
| | | <springProfile name="pro"> |
| | | <!--打印SQL--> |