Just use grep to query recent logs, zgrep if you have to dig a little.
zgrep somepattern /var/log/messages*
Just use grep to query recent logs, zgrep if you have to dig a little.