Commit 5f8e5925956f145025a824f07edd2dd084987cda
1 parent
0fff8512
Reverted changes to the logging from previous commit
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -32,9 +32,9 @@ public class DefaultQueryLogComponent implements QueryLogComponent { |
32 | 32 | |
33 | 33 | @Override |
34 | 34 | public void logQuery(QueryContext ctx, String query, long duration) { |
35 | -// if (logSqlQueries && duration > logQueriesThreshold) { | |
35 | + if (logSqlQueries && duration > logQueriesThreshold) { | |
36 | 36 | log.info("QUERY: {} took {}ms", query, duration); |
37 | 37 | Arrays.asList(ctx.getParameterNames()).forEach(param -> log.info("QUERY PARAM: {} -> {}", param, ctx.getValue(param))); |
38 | -// } | |
38 | + } | |
39 | 39 | } |
40 | 40 | } | ... | ... |