Add lexer of log system