refactoring log events