Extending the 'logging' module

Category: Python - Education

This script helps you in adding new format specifiers to the logging module. In this example, it's for the user name and the name of the function that logged the message. Date: 01 January, 2012


Logging Module - Logging Module Extension - Debugging Script - Logging - Module - Extension

Homepage: http://code.activestate.com/

Developer: code.activestate.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

This script allows you to use separate loggers to make specific sub-system debugging easier.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script helps you in adding new format specifiers to the logging module.

developer Developer: code.activestate.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


In most languages with closures, it is possible to change a closed-over value and have the change visible in other closures which share a reference to the same variable.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This function makes it easier to use the timeit module from the interactive interpreter.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script is a simple embedded multiline python interpreter built around raw_input().

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script acts like a stepping debugger to diagnose and fix your programs.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Since Python 2.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script allows adding/modifying/removing environment variables persistently on Windows.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script contains a function to calculate the percent of requests that were "refused" by Apache server due to the clients ability to read the file from their cache instead.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All