1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/py-apachelog/pkg-descr
Ruslan Makhmatkhanov eb93c4ceaf www/py-apachelog: convert to USES=python
- convert to USES=python
- limit to python2:
  """
  File "/usr/local/lib/python3.4/site-packages/apachelog.py", line 170
    except Exception, e:
                    ^
  SyntaxError: invalid syntax
  """

Approved by:	portmgr (blanket)
2014-10-18 10:18:44 +00:00

8 lines
327 B
Plaintext

Parser for extracting fields from a single line of an Apache access.lo
g (should work for other servers conforming to the Common Log Format).
Create the parser with the log format from your server .conf file,
parse lines to get dict corresponding to fields defined in the log format.
WWW: http://code.google.com/p/apachelog/