diff --git a/tperimeter.py b/tperimeter.py index 50b1511..914219e 100644 --- a/tperimeter.py +++ b/tperimeter.py @@ -6,9 +6,9 @@ # Program Information PROGNAME = "tperimeter.py" -RCSID = "$Id: tperimeter.py,v 1.106 2006/04/30 17:47:20 tundra Exp $" +RCSID = "$Id: tperimeter.py,v 1.107 2006/04/30 19:14:30 tundra Exp $" -import os, re, sys +import os, re, sys, syslog ##### # Constants @@ -121,3 +121,9 @@ reqfil = reqdir + os.sep + address f=open(reqfil, "w") f.close() + +# Log the request + +syslog.openlog("tperimiter") +syslog.syslog(syslog.LOG_NOTICE, "User@%s Requested Service %s For %s" % (requestor, service, address)) +syslog.closelog()