Add case insensitive option to check-log.rb