Implementing log mechanism