tags:

views:

260

answers:

1

I want to have GUI application or Web app where I can view the python log information. I can choose any formatter required. But it should work with standard logging module.

I have configured my logs to file. But I wanted to have log to be stored to mysql db (it is possible) but I badly need user interface to view the log from remote place.

Any recommended tool or approach?

+2  A: 

You can write a database handler for logging as in this example using any Python DB-API 2.0 compliant database interface. Then, of course, you can view the logs using any framework which allows you to get and display data via the Web.

Or, you can use log4j's Chainsaw GUI using the approach outlined here. Here's a screenshot:

alt text

Just two approaches - there are no doubt numerous others.

Vinay Sajip
Thanks, it works. Do you know any web based log viewer?
Gopalakrishnan Subramani