| Library Information | |
|---|---|
| Version | {{libInfo.version}} |
| RequestIdInitFilter | {{libInfo.requestIdInitFilterEnabled?'On':'Off'}} |
| RequestCaptureFilter | {{libInfo.requestCaptureFilterEnabled?'On':'Off'}} |
| RequestResponseLogInterceptor | {{libInfo.requestResponseLogInterceptorEnabled?'On':'Off'}} |
| ScheduledTaskRunRecordAutoInject | {{libInfo.scheduledTaskRunRecordAutoInjectEnabled?'On':'Off'}} |
| 日志扩展启用 | {{libInfo.logExtEnabled?'On':'Off'}} |
| 日志扩展组件 | {{key}} |
| 启动时间 | {{libInfo.startTime | timeStamp('yyyy-MM-dd HH:mm:ss')}} |
| HttpRecord处理计数 | 成功{{libInfo.reqProducerSuccessCount}}次,失败{{libInfo.reqProducerFailCount}}次 |
| TaskRecord处理计数 | 成功{{libInfo.taskProducerSuccessCount}}次,失败{{libInfo.taskProducerFailCount}}次 |
| Log处理计数 | 成功{{libInfo.logProducerSuccessCount}}次,失败{{libInfo.logProducerFailCount}}次 |
| Java Version | {{libInfo.javaVersion}} |
| Java VM Name | {{libInfo.javaVMName}} |
| Java Home | {{libInfo.javaHome}} |
| Java ClassPath | |
| Request Attributes | |
|---|---|
| {{kvItem.value}} | |
| Memory MXBean | |
|---|---|
| Heap Memory Usage | {{memoryMXBean.heapMemoryUsag}} |
| Non-Heap Memory Usage | {{memoryMXBean.nonHeapMemoryUsag}} |
| {{mxbean.name}} | |
|---|---|
| Type | {{mxbean.type}} |
| Memory Usage | {{mxbean.memoryUsage}} |
| Peak Usage | {{mxbean.peakMemoryUsage}} |
| Collection Usage | {{mxbean.collectionUsage}} |
| id | timeStamp | method | requestAndQuery | form parameter | payload | action |
|---|---|---|---|---|---|---|
| {{apiRecord.id}} | {{apiRecord.timeStamp | timeStamp('yyyy-MM-dd HH:mm:ss') }} |
{{apiRecord.method}} |
{{ apiRecord | showRequestAndQuery }} | {{ apiRecord.parameterMap | parameterFormater }} | {{ apiRecord.payload }} |
| timeStamp | {{ apiRecord.timeStamp | timeStamp('yyyy-MM-dd HH:mm:ss') }} |
| method | {{ apiRecord.method }} |
| requestAndQuery | {{ apiRecord | showRequestAndQuery }} |
| contentType | {{ apiRecord.contentType }} |
| form parameter | {{ apiRecord.parameterMap | parameterFormater }} |
| payload | {{ apiRecord.payload }} |
| {{key}} | {{v}} |
| timeStamp | level | threadName | loggerName | message | host | ip |
|---|---|---|---|---|---|---|
| {{log.timeStamp | timeStamp('yyyy-MM-dd HH:mm:ss.l') }} | {{log.level}} | {{log.host}} | {{log.ip}} |
| id | start time | end time | elapsed time | class | method | parameter | action |
|---|---|---|---|---|---|---|---|
| {{taskRecord.id}} | {{taskRecord.startTimeStamp | timeStamp('yyyy-MM-dd HH:mm:ss') }} | {{taskRecord.endTimeStamp | timeStamp('yyyy-MM-dd HH:mm:ss') }} |
{{taskRecord.endTimeStamp - taskRecord.startTimeStamp }}ms
|
{{taskRecord.declaringClass}} | {{taskRecord.method}} | {{ taskRecord.parameterMap | parameterFormater }} |
| action | httpRequestRecordId | timeStamp | level | threadName | loggerName | message | host | ip |
|---|---|---|---|---|---|---|---|---|
|
|
{{log.httpRequestRecordId}} | {{log.timeStamp | timeStamp('yyyy-MM-dd HH:mm:ss') }} | {{log.level}} | {{log.threadName}} | {{log.loggerName}} |
{{log.message}}{{log.message}} |
{{log.host}} | {{log.ip}} |
<mvc:cors>
<mvc:mapping path="/**"
allowed-origins="*"
allowed-methods="GET,POST,PUT,DELETE,OPTIONS"
allowed-headers="X-Requested-With" />
</mvc:cors>
注:以上是spring mvc项目的参考配置,其它项目请自行配置