按照老师相同的配置运行后debug日志文件为空,info和error有记录
控制台输出如下:
2020-04-03 15:47:10.943 [http-nio-80-exec-11] INFO com.imooc.o2o.web.superadmin.AreaController - =start=
2020-04-03 15:47:10.945 [http-nio-80-exec-11] DEBUG com.imooc.o2o.dao.AreaDao.queryArea - ==> Preparing: select * from tb_area order by priority desc
2020-04-03 15:47:10.945 [http-nio-80-exec-11] DEBUG com.imooc.o2o.dao.AreaDao.queryArea - > Parameters:
2020-04-03 15:47:10.947 [http-nio-80-exec-11] DEBUG com.imooc.o2o.dao.AreaDao.queryArea - < Total: 2
2020-04-03 15:47:10.948 [http-nio-80-exec-11] ERROR com.imooc.o2o.web.superadmin.AreaController - test error!
2020-04-03 15:47:10.949 [http-nio-80-exec-11] DEBUG com.imooc.o2o.web.superadmin.AreaController - costTime:[5ms]
2020-04-03 15:47:10.949 [http-nio-80-exec-11] INFO com.imooc.o2o.web.superadmin.AreaController - =end=
SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需
了解课程