# Copyright (c) 2016-2018 Intra2net AG <info@intra2net.com>
"""
-
-SUMMARY
-------------------------------------------------------
Iterative reading of log files, similar to shell command `tail -f`.
Copyright: Intra2net AG
-
-CONTENTS
-------------------------------------------------------
-
Basic Functionality (class :py:class:`IterativeReader`):
Runs stat in a loop to find out whether file size has changed. Then reads the
new data and forwards that
like date, time, module name, urgency and message.
.. todo:: auto-detect log line layout
-
-
-INTERFACE
-------------------------------------------------------
-
"""
import os
import os.path