Use file logger when mongo not setup