follow_log.py

from fblog import *

log = follow(open('/opt/firebird/firebird.log'))
try:
  show(full(fblog(log_file=log)))
except KeyboardInterrupt:
  pass
except Exception as e:
  raise e

Previous topic

daily_report.py

Next topic

fbtracex.py