elog checker

elog checker in lua