[logging] log clean up