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: CHANGES.txt TODO.txt
	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):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.110&r2=1.111
http://cvs.eby-sarna.com/PEAK/TODO.txt.diff?r1=1.81&r2=1.82
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.99&r2=1.100
http://cvs.eby-sarna.com/PEAK/src/peak/running/daemons.py.diff?r1=1.24&r2=1.25
http://cvs.eby-sarna.com/PEAK/src/peak/running/interfaces.py.diff?r1=1.27&r2=1.28
http://cvs.eby-sarna.com/PEAK/src/peak/running/logs.py.diff?r1=1.28&r2=1.29
http://cvs.eby-sarna.com/PEAK/src/peak/web/interfaces.py.diff?r1=1.22&r2=1.23

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