revise log mechanism