E&S CVS Commit: PEAK - Logging-related interfaces have been moved into the 'peak.running.logs'

pje at eby-sarna.com pje at eby-sarna.com
Sat Dec 20 13:14:00 EST 2003

Module Name:	PEAK
Committed By:	pje
Date:		Sat Dec 20 18:13:45 UTC 2003

Modified Files:
	PEAK/src/peak: peak.ini
	PEAK/src/peak/running: daemons.py interfaces.py logs.py
	PEAK/src/peak/web: interfaces.py

Log Message:
Logging-related interfaces have been moved into the 'peak.running.logs'
module.  So, what used to be 'running.ILogger' is now 'logs.ILogger'.

Log events now use a standard component construction signature, and the
class used for event objects is now configurable as the factory for
'logs.ILogEvent'.  (See "Component Factories" in 'peak.ini'.)

By popular demand, 'logs.ILogger' (and its default implementation) now
includes 'trace()', 'notice()', 'alert()' and 'emergency()' methods that
use the corresponding 'syslog' priority levels.  'logs.IBasicLogger' has
been added, to reflect the narrower interface provided by PEP 282, and
there is an adapter that can extend PEP 282 loggers with the other methods.

Finally, added 'logs.ILoggingService' (for future implementation), and
updated TODO to reflect short-term project priorities that take precedence
over the alpha 3 release for now.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.110 -r1.111 PEAK/CHANGES.txt
cvs rdiff -r1.81 -r1.82 PEAK/TODO.txt
cvs rdiff -r1.99 -r1.100 PEAK/src/peak/peak.ini
cvs rdiff -r1.24 -r1.25 PEAK/src/peak/running/daemons.py
cvs rdiff -r1.27 -r1.28 PEAK/src/peak/running/interfaces.py
cvs rdiff -r1.28 -r1.29 PEAK/src/peak/running/logs.py
cvs rdiff -r1.22 -r1.23 PEAK/src/peak/web/interfaces.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