Sorry, why is the temp file solution 'stupid'?, (not aesthetic-pythonistic???) - it looks OK: simple and direct, and certainly less 'heavy' than any db stuff (even embedded)
And collating in a 'official log file' can be done periodically by another process, on a time-scale that is 'useful' if not instantaneous... Just trying to understand here... JMD -- http://mail.python.org/mailman/listinfo/python-list