A dircproxy logging script