# netprod.py

from genpipe import *
from follow import *
from apachelog import *

import subprocess
p = subprocess.Popen(['python','netcons.py'],
                     stdin=subprocess.PIPE)

lines = follow(open("run/access-log"))
log   = apache_log(lines)
gen_sendto(log,p.stdin)
