| | |
| | | import org.quartz.JobExecutionContext; |
| | | import org.quartz.Scheduler; |
| | | import org.quartz.SchedulerException; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.cache.ehcache.EhCacheCacheManager; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | out.print(data.toString()); |
| | | } |
| | | |
| | | @RequestMapping("log") |
| | | public void log(PrintWriter out) { |
| | | Logger testLogger= LoggerFactory.getLogger("testLog"); |
| | | |
| | | @RequestMapping("wx") |
| | | public void log(HttpServletRequest request, PrintWriter out) { |
| | | LogManager.getLogger(LogType.taobaoAuth).info("123123123"); |
| | | String content = WXUtil.getContent(request); |
| | | testLogger.info("wx: "+content); |
| | | |
| | | } |
| | | |
| | | |