Cleanup language and remove other warning in log.rb