E&S CVS Commit: pylib - 1) make LOG_ prefix optional on log levels and facility names in URLs,

tsarna at eby-sarna.com tsarna at eby-sarna.com
Thu May 31 13:40:00 EDT 2001


Module Name:	pylib
Committed By:	tsarna
Date:		Thu May 31 17:39:24 UTC 2001

Modified Files:
	pylib/AppUtils: Connections.py Logging.py

Log Message:
1) make LOG_ prefix optional on log levels and facility names in URLs,
   and be case-insensitive. In other words, "logfile:/foo?level=debug"
   is now legitimate.

2) implement Syslogger, a syslog()-based logger. URL syntax is:

	syslog:<facility>[?level=<level>]

   where facility is a syslog facility ID (FTP, MAIL, LOCAL0, etc) and
   level is a level ID. example: "syslog:local3?level=notice"
   XXX note not yet thread-safe.

3) create a LoggingInterface, and have LogFile and Syslogger implement it.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/AppUtils/Connections.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/pylib/AppUtils/Logging.py.diff?r1=1.2&r2=1.3

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pylib/AppUtils/Connections.py pylib/AppUtils/Logging.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.





More information about the source-changes mailing list