-
Optional Element Summary
Optional Elements
Those conditions(by contains ignore case or regular expression match) will be joined by OR
, not AND
.
int
long
start to log performance for Dao operation/method if the execution time >= the specified(or default) execution time in milliseconds.
long
start to log performance for sql if the execution time >= the specified(or default) execution time in milliseconds.
-
Element Details
-
minExecutionTimeForSql
long minExecutionTimeForSql
start to log performance for sql if the execution time >= the specified(or default) execution time in milliseconds.
- Returns:
- Default:
- 1000L
-
maxSqlLogLength
int maxSqlLogLength
- Default:
- 1024
-
minExecutionTimeForOperation
long minExecutionTimeForOperation
start to log performance for Dao operation/method if the execution time >= the specified(or default) execution time in milliseconds.
- Returns:
- Default:
- 3000L
-
filter
Those conditions(by contains ignore case or regular expression match) will be joined by OR
, not AND
.
It's only applied if target of annotation PerfLog
is Type
, and will be ignored if target is method.
- Returns:
- Default:
- {".*"}