save status and log