springmvc+mybaits+spring日志

来源:互联网 发布:梦幻西游mac更新失败 编辑:程序博客网 时间:2024/06/04 20:13

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

日志整个:
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
原创粉丝点击