springmvc+mybaits+spring日志

日志前部分:
这里写图片描述
日志后部分:
这里写图片描述

日志整个:
16:11:37.312 [http-bio-8080-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - DispatcherServlet with name ‘dispatcher’ processing GET request for [/guide/cityIntroduce]
16:11:37.312 [http-bio-8080-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Looking up handler method for path /cityIntroduce
16:11:37.313 [http-bio-8080-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Returning handler method [public java.lang.Object com.cmsz.guide.controller.CityController.cityIntroduce(java.lang.String)]
16:11:37.313 [http-bio-8080-exec-9] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean ‘cityController’
16:11:37.313 [http-bio-8080-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Last-Modified value for [/guide/cityIntroduce] is: -1
16:11:37.319 [http-bio-8080-exec-9] DEBUG o.s.j.d.DataSourceTransactionManager - Creating new transaction with name [com.cmsz.guide.service.impl.CityServiceImpl.cityIntroduce]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT
16:11:37.407 [http-bio-8080-exec-9] DEBUG o.s.j.d.DataSourceTransactionManager - Acquired Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@269bc404] for JDBC transaction
16:11:37.407 [http-bio-8080-exec-9] DEBUG o.s.j.d.DataSourceTransactionManager - Switching JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@269bc404] to manual commit
16:11:37.426 [http-bio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
16:11:37.427 [http-bio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Registering transaction synchronization for SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f28af4b]
16:11:37.428 [http-bio-8080-exec-9] DEBUG o.m.s.t.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@269bc404] will be managed by Spring
16:11:37.428 [http-bio-8080-exec-9] DEBUG c.c.guide.dao.CityDao.cityIntroduce - ==> Preparing: select cityId,cityName,cityIntroduce from city where cityId=?
16:11:37.430 [http-bio-8080-exec-9] DEBUG c.c.guide.dao.CityDao.cityIntroduce - ==> Parameters: 1720151127161104001(String)
16:11:37.454 [http-bio-8080-exec-9] DEBUG c.c.guide.dao.CityDao.cityIntroduce - <== Total: 1
16:11:37.454 [http-bio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f28af4b]
16:11:37.454 [http-bio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Transaction synchronization committing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f28af4b]
16:11:37.455 [http-bio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Transaction synchronization deregistering SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f28af4b]
16:11:37.455 [http-bio-8080-exec-9] DEBUG org.mybatis.spring.SqlSessionUtils - Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f28af4b]
16:11:37.455 [http-bio-8080-exec-9] DEBUG o.s.j.d.DataSourceTransactionManager - Initiating transaction commit
16:11:37.455 [http-bio-8080-exec-9] DEBUG o.s.j.d.DataSourceTransactionManager - Committing JDBC transaction on Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@269bc404]
16:11:37.481 [http-bio-8080-exec-9] DEBUG o.s.j.d.DataSourceTransactionManager - Releasing JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@269bc404] after transaction
16:11:37.481 [http-bio-8080-exec-9] DEBUG o.s.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
16:11:37.490 [http-bio-8080-exec-9] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Written [JsonObject [state=10000, result=CityModel [cityId=1720151127161104001, cityName=深圳, provinceId=0, countryId=0, cityCapital=null], message=请求成功]] as “application/json;charset=UTF-8” using [org.springframework.http.converter.json.MappingJacksonHttpMessageConverter@2788cb8f]
16:11:37.490 [http-bio-8080-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Null ModelAndView returned to DispatcherServlet with name ‘dispatcher’: assuming HandlerAdapter completed request handling
16:11:37.490 [http-bio-8080-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Successfully completed request

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值