added buffering functionality in my_logger.rb and fixed app_setting.rb model