/usr/lib/python2.7/dist-packages/pygtail-0.6.1.egg-info/PKG-INFO is in python-pygtail 0.6.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | Metadata-Version: 1.1
Name: pygtail
Version: 0.6.1
Summary: Reads log file lines that have not been read.
Home-page: http://github.com/bgreenlee/pygtail
Author: Brad Greenlee
Author-email: brad@footle.org
License: GPL v2
Description: pygtail
=======
A python "port" of `logcheck's logtail2 <http://logcheck.org>`__.
Pygtail reads log file lines that have not been read. It will even
handle log files that have been rotated.
Usage
-----
From the command line:
::
Usage: pygtail.py [options] logfile
Print log file lines that have not been read.
Options:
-h, --help show this help message and exit
-o OFFSET_FILE, --offset-file=OFFSET_FILE
File to which offset data is written (default:
<logfile>.offset).
-p, --paranoid Update the offset file every time we read a line
(as opposed to only when we reach the end of the
file).
-n N, --every-n=N Update the offset file every N'th time we read a
line (as opposed to only when we reach the end of
the file).
--no-copytruncate Don't support copytruncate-style log rotation.
Instead, if the log file shrinks, print a warning.
In your code:
.. code:: python
from pygtail import Pygtail
for line in Pygtail("some.log"):
sys.stdout.write(line)
Build status
------------
|Build Status|
.. |Build Status| image:: https://secure.travis-ci.org/bgreenlee/pygtail.png
:target: http://travis-ci.org/bgreenlee/pygtail
Keywords: logging,tail,logtail2
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Logging
|