logback logging and OOM fix.