made some changes in my_logger.rb