Logger fix: log could not be inserted