Showing
2 changed files
with
4 additions
and
4 deletions
... | ... | @@ -243,8 +243,8 @@ public class DefaultAlarmQueryRepository implements AlarmQueryRepository { |
243 | 243 | } |
244 | 244 | List<Map<String, Object>> rows = jdbcTemplate.queryForList(dataQuery, ctx); |
245 | 245 | if (logSqlQueries) { |
246 | - log.error("QUERY: {}", dataQuery); | |
247 | - Arrays.asList(ctx.getParameterNames()).forEach(param -> log.error("QUERY PARAM: {}->{}", param, ctx.getValue(param))); | |
246 | + log.info("QUERY: {}", dataQuery); | |
247 | + Arrays.asList(ctx.getParameterNames()).forEach(param -> log.info("QUERY PARAM: {}->{}", param, ctx.getValue(param))); | |
248 | 248 | } |
249 | 249 | return AlarmDataAdapter.createAlarmData(pageLink, rows, totalElements, orderedEntityIds); |
250 | 250 | }); | ... | ... |
... | ... | @@ -338,8 +338,8 @@ public class DefaultEntityQueryRepository implements EntityQueryRepository { |
338 | 338 | dataQuery = String.format("%s limit %s offset %s", dataQuery, pageLink.getPageSize(), startIndex); |
339 | 339 | } |
340 | 340 | if (logSqlQueries) { |
341 | - log.error("QUERY: {}", dataQuery); | |
342 | - Arrays.asList(ctx.getParameterNames()).forEach(param -> log.error("QUERY PARAM: {}->{}", param, ctx.getValue(param))); | |
341 | + log.info("QUERY: {}", dataQuery); | |
342 | + Arrays.asList(ctx.getParameterNames()).forEach(param -> log.info("QUERY PARAM: {}->{}", param, ctx.getValue(param))); | |
343 | 343 | } |
344 | 344 | List<Map<String, Object>> rows = jdbcTemplate.queryForList(dataQuery, ctx); |
345 | 345 | return EntityDataAdapter.createEntityData(pageLink, selectionMapping, rows, totalElements); | ... | ... |