开发者

python log view application

开发者 https://www.devze.com 2022-12-19 08:04 出处:网络
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 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?


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:

python log view application


(source: pylonshq.com)

Just two approaches - there are no doubt numerous others.


vsConsole FileView lets you view server logs via a web application. Have a look at the demo and see if it suits your needs:

http://demo.vamonossoftware.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号