Implemented the logging strategy