SpringBoot AOP处理请求日志处理打印 @Slf4j @Aspect @Configuration public class RequestAopConfig { @Autowired private HttpServletRequest request; private static final ThreadLocal<Long> START_TIME_MILLIS = new ThreadLocal<>(); @Pointcut("execution(* c
前提:jenkins和springboot运行在同一台机器 springboot 通过winsw部署为服务 winsw 下载地址:https://github.com/kohsuke/winsw/releases winsw的使用比较简单,下载上面两个文件,和springboot项目jar包一个文件夹下. 将exe和xml修改成同样的名字 xml文件内容如下: <configuration> <!-- ID of the service. It should be unique accr