Create checkelog.h

check st db source elog usage