Move log entries to mongodb