Add statistics type to system log
This commit is contained in:
@@ -64,7 +64,12 @@ class SysLogInterceptor(
|
||||
if (result is ResponseResult<*>) {
|
||||
if (result.success) {
|
||||
sysLog.apply {
|
||||
logType = "INFO"
|
||||
logType = requestUri?.let {
|
||||
when {
|
||||
it.startsWith("/system/statistics/") -> "STATISTICS"
|
||||
else -> "INFO"
|
||||
}
|
||||
} ?: "INFO"
|
||||
exception = 0
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user