modify console_log.sh so support gerrit log pattern