Python, Creating program for event viewing
I am testing the product solidcore. During testing, we look at the logs to see what exactly happened in the application.
The log we observe is tomcat.log since the produce is using tomcat. The log can become huge (around 80 to 100 Mb).
I want an application which can display me this log file and refresh it every few seconds (since the log file may change every second).
The app should be really fast.
My brother and friend Justin suggested Python. So did a good office colleague of mine. I am going to read something more about Python and see what it can do.
From the experts
PyDev is a free Eclipse plug-in that transforms Eclipse into a powerful Python and Jython development environment.
http://showmedo.com/videos/series?name=PyDevEclipseList
The log we observe is tomcat.log since the produce is using tomcat. The log can become huge (around 80 to 100 Mb).
I want an application which can display me this log file and refresh it every few seconds (since the log file may change every second).
The app should be really fast.
My brother and friend Justin suggested Python. So did a good office colleague of mine. I am going to read something more about Python and see what it can do.
From the experts
PyDev is a free Eclipse plug-in that transforms Eclipse into a powerful Python and Jython development environment.
http://showmedo.com/videos/series?name=PyDevEclipseList
Complete Install:
There is a 'complete install guide' at http://www.fabioz.com/pydev/manual_101_root.html so, if you have any problems in the install, that's the place you should check (it also guides you through configuring pydev correctly).
Hi,
ReplyDeleteThis log and the 80 - 100MB stuff reminds me of one thing. In hollywood movies, esp the ones dealing with cracking hacking etc, we always see "The guys" - hacker ofcourse staring at the screen (probably an X terminal) with lines keep on scrolling upwards automatically.
I was wondering whether this could be a viable solution, that is 0 if we could keep on updating the messages line by line it wont become 80 or 100 MB and once the lines are read, we could clear(delete) them.
And by the way, exception could turn up in some bright red color or something.
For more out of the planet ideas do visit - http://justinlinux.blogspot.com/
bye
with regards
Justin