T
Tomasz Chmielewski
I would like to write a log parser which would work "in real time".
Meaning, it will read i.e. /var/log/mail.info and append interesting
entries it finds to a database, according to some criteria.
What should I look at / read to achieve it? I'm OK to create a "static"
parser like this, where the file is parsed once, but I don't have much
experience with continuous processing of files which grow (and at times,
are rotated/removed/truncated).
Meaning, it will read i.e. /var/log/mail.info and append interesting
entries it finds to a database, according to some criteria.
What should I look at / read to achieve it? I'm OK to create a "static"
parser like this, where the file is parsed once, but I don't have much
experience with continuous processing of files which grow (and at times,
are rotated/removed/truncated).