flowableの日志打印

1.  先引入依赖

<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>slf4j-log4j12</artifactId>
</dependency>

 

2.  log4j.properties内容如下(Task类,IDEA快捷键Ctrl+H,找到TaskEntity)

log4j.rootLogger=ERROR, CA

# ConsoleAppender
log4j.appender.CA=org.apache.log4j.ConsoleAppender
log4j.appender.CA.layout=org.apache.log4j.PatternLayout
log4j.appender.CA.layout.ConversionPattern= %d{hh:mm:ss,SSS} [%t] %-5p %c %x - %m%n

#custom
log4j.logger.org.flowable.task.service.impl.persistence.entity=DEBUG

 

posted @ 2019-07-08 22:34  华格瑞沙  阅读(2683)  评论(0编辑  收藏  举报