make sure server.log exists before mv command