bgreenlee / pygtail

Pygtail reads log file lines that have not been read. It will even handle log files that have been rotated. Based on logcheck's logtail2 (http://logcheck.org)
GNU General Public License v2.0
251 stars 79 forks source link

Question: does this library works for monitoring a log file? #62

Closed gusarg81 closed 2 years ago

gusarg81 commented 2 years ago

In my case I need to monitor kern.log to catch an error that is happening to one of my ethernet device.

Does this lib can do the job?

bgreenlee commented 2 years ago

Yes.

gusarg81 commented 2 years ago

Nice. Is there any documentation or examples to achieve this?