Commit bc371a7f authored by Daniel Gerhardt's avatar Daniel Gerhardt

Use correct log level if it is provided

Log level for DB logging was overriden by the fallbacki value in some
parent 9eec603b
......@@ -161,7 +161,7 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware
for (int i = 0; i < rawPayload.length; i += 2) {
payload.put((String) rawPayload[i], rawPayload[i + 1]);
log(event, payload, LogEntry.LogLevel.INFO);
log(event, payload, level);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment