Logging only new messages while keeping user aware of progress

Category: Python - Miscellaneous

Sometimes it is convenient emit a log line only if the log message was different
compared to previous message. However, it is also good to log a line at least every n seconds so that user knows the system is working and has not hanged. These
ideas are combined in this very simple recipe. Date: 18 March, 2012


Text

Homepage: http://code.activestate.com/recipes/414770-logging-only-new-messages-while-keeping-user-aware/?in=lang-python

Developer: Edvard Majakari

License: Python License

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Powerful scroller with No need for PHP, Perl, etc.

developer Developer: Raj
license License: Freeware
operating systems Operating System: Platform Independent


Tigra Scroller is free JavaScript widget for web sites that scrolls text or html in the box.

developer Developer: Softcomplex
license License: Freeware
operating systems Operating System: Windows 95/98/ME/2000/XP, Mac OS 8/9/X, KDE on Linux/FreeBSD


Tigra Status Bar Scroller is free JavaScript widget for web sites that scrolls text in browser's status bar or title.

developer Developer: Mariya Imangulova
license License: GNU General Public License (GPL)
operating systems Operating System: Windows 95/98/ME/2000/XP; Mac OS 8/9/X; KDE on Linux/FreeBSD


A free cross-browser WYSIWYG editor that's packed with every rich-text editing feature you need to make your content management system that much better.

developer Developer: openwebware
license License: GNU Lesser General Public License (LGPL)
operating systems Operating System: Not Available


ELinks is an advanced and well-established feature-rich text mode web (HTTP/FTP/.

developer Developer: ELinks
license License: GNU General Public License (GPL)
operating systems Operating System: AIX, BeOS, CygWin, Digital Unix, FreeBSD, HPUX, IRIX, Linux, MacOSX, Microsoft Windows, NetBSD, OpenBSD, OS/2, RISC OS and Solaris


Something I wrote when my brothers were twelve to introduce them to programming.

developer Developer: Jonathan Hayward
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


An easily modified text based RPG written in C++ created to help teach new programmers how to break apart parts of a game into something creatable.

developer Developer: wrathlands2
license License: GNU General Public License (GPL)
operating systems Operating System: WinXP


In multithreaded apps, there is at times the need to control access to a resource to ensure data consistency and integrity.

developer Developer: Matthew Scott
license License: Python License
operating systems Operating System: Windows


Some people like to sprinkle stack trace information in their code, and it is always helpful to get a visual clue to the call stack depth.

developer Developer: Christopher Dunn
license License: Python License
operating systems Operating System: Windows