Logging _into_ an application
Stefan Schwarzer
sschwarzer at sschwarzer.net
Mon Mar 17 16:13:07 EST 2003
I would like to know if there's a framework available for logging into a Python
application, in the same sense I can use a command line database client to query
a database (e. g. psql for PostgreSQL). Example for the Python case:
myhost$ start_application.py
Running in background ...
myhost$ application_admin.py
>>> import mycache
>>> mycache.cached_items_count() # number of items in the application's cache?
42
>>> import gc
>>> len(gc.garbage) # how many objects weren't collected?
3
>>> ^D
myhost$
Stefan
More information about the Python-list
mailing list