|
发表于 2021-10-12 11:59:24
|
显示全部楼层
开启平台的JVM跟踪日志还可以同start和end的标志看action具体的执行时间
修改%JUSTEP_HOME%/runtime/BusinessServer/WEB-INF/justep.log.properties文件,在最后添加以下代码:
log4j.logger.com.justep.log.jvm=DEBUG,CONSOLE
log4j.additivity.com.justep.log.jvm=false
修改完后, 重启服务器,执行任何action时, 服务器控制台应该可以看到类似以下的日志:
2018-12-12 18:15:45 [JVM]start...DC9DC824E8084AD1BBF965E83D927896, process: /demo/process/process/and/andProcess, activity: bizActivity1, action: queryOrderAction
2018-12-12 18:15:45 [JVM]end.....DC9DC824E8084AD1BBF965E83D927896, process: /demo/process/process/and/andProcess, activity: bizActivity1, action: queryOrderAction, operator: PSN01, system, total: 4095MB, free: 1172MB, use: 2922MB, leak free: 1MB, leak use: 0 |
|