adding buffering functionality in my_logger.rb and fixing app_setting.rb model