summaryrefslogtreecommitdiff
path: root/devel/py-logging
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-04 16:26:53 +0000
committerminskim <minskim@pkgsrc.org>2004-03-04 16:26:53 +0000
commit75bcce806238bf42d90b3d7e5425e4c5a35188d1 (patch)
tree6eb3e59e3f5288f5aa7e24d0a5d730362e8c403d /devel/py-logging
parent9f8c6e7b665b20b3ac59bbf44e7821762785ebc1 (diff)
downloadpkgsrc-75bcce806238bf42d90b3d7e5425e4c5a35188d1.tar.gz
Update py-logging to 0.4.9.2.
Changes since 0.4.7: - Traceback text is now cached. - Tracebacks can be propagated across sockets as text. - Added makeLogRecord() to allow a LogRecord to be created from a dictionary. - Closing a handler now removes it from the internal list used by shutdown(). - Made close() call flush() for handlers where this makes sense (thanks to Jim Jewett). - The exc_info keyword parameter can be used to pass an exception tuple as well as a flag indicating that the current exception should be logged. - A shutdown hook is registered to call shutdown() on application (Python) exit (thanks to Jim Jewett). - Removed redundant error check in setLoggerClass(). - Added RESET_ERROR to logging.config. - SocketHandler now uses an exponential backoff strategy. - Minor documentation corrections. - Made _listener global in stopListening(). - Made listen() correctly pass the specified port. - Removed some redundant imports in __init__.py. - Added the record being processed as a parameter to handleError. - Handler.handle returns the result of applying the filter to the record. - Added a seek(0, 2) in RotatingFileHandler before the tell() call. This is because under Windows, tell() returns 0 until the first actual write. - Altered findCaller to not use inspect. - Renamed warn and WARN to warning and WARNING. This may break existing code, but the standard Python module will use warning/WARNING rather than warn/WARN. The fatal and FATAL synonyms for critical and CRITICAL have also been removed. - Added defaultEncoding and some support for encoding Unicode messages. - Added process ID to the list of LogRecord attributes. - Modified Logger.removeHandler so that it does not close the handler on removal. - Modified SMTPHandler to treat a single "to address" correctly. - Modified SMTPHandler to add a date header to the SMTP message. - Modified HTTPHandler to factor out the mapping of a LogRecord to a dictionary.
Diffstat (limited to 'devel/py-logging')
-rw-r--r--devel/py-logging/Makefile8
-rw-r--r--devel/py-logging/distinfo6
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/py-logging/Makefile b/devel/py-logging/Makefile
index 5f85d724067..9c6579b0855 100644
--- a/devel/py-logging/Makefile
+++ b/devel/py-logging/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2003/07/17 21:33:29 grant Exp $
+# $NetBSD: Makefile,v 1.4 2004/03/04 16:26:53 minskim Exp $
#
-DISTNAME= logging-0.4.7
-PKGNAME= ${PYPKGPREFIX}-logging-0.4.7
+DISTNAME= logging-0.4.9.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://www.red-dove.com/
@@ -10,7 +10,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.red-dove.com/python_logging.html
COMMENT= Python logging system
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
PYDISTUTILSPKG= yes
.include "../../lang/python/extension.mk"
diff --git a/devel/py-logging/distinfo b/devel/py-logging/distinfo
index 3dd2f9391e1..4d1a6fca22d 100644
--- a/devel/py-logging/distinfo
+++ b/devel/py-logging/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/11/29 18:09:53 drochner Exp $
+$NetBSD: distinfo,v 1.2 2004/03/04 16:26:53 minskim Exp $
-SHA1 (logging-0.4.7.tar.gz) = b75f31638519ea46990d4886e3c18b3fe29f07bb
-Size (logging-0.4.7.tar.gz) = 87166 bytes
+SHA1 (logging-0.4.9.2.tar.gz) = db3ce2808ed1e6522cbbdb1ed9a1fee403be4b97
+Size (logging-0.4.9.2.tar.gz) = 87854 bytes