[wpkg-users] pkgPower
Sebastian Elner
sebastian at risefx.com
Tue Jun 26 12:26:20 CEST 2012
Hey Mark,
thanks for the feedback, much appreciated!
The code is pretty much customized to the setup we have. And because I
am a novice wpkg user I do not know what other peoples log files could
look like. So how do you get those additional lines in there? Pretty
interesting.
On 06/26/2012 12:03 PM, Mark Cooke wrote:
> It looks like the non-time-tagged lines upset the way you currently
> parse the log files (log.py), and how you work out the first and last
> time in the file by looking at the first and last line in the log. ( I
> got a default time for both as the first and last lines don't have
> time tags. )
Ok, I can easily fix this.
> I think you have an implicit dependency on WPKG 1.2 for the
> DEBUG/INFO/WARNING/ERROR filter, as I don't have any lines in my log
> files that matched these filters.
Hmmm..... I did not know this dependency. Actually the sole purpose I
wrote this software is to get a fast overview of what logs have errors
quickly jump to those) and which ones were outdated. So, not having this
in a log file kind of makes this obsolete :(
Is there another standard way I could support pre 1.2 logs (phrases I
could parse for?)
> Nice feature showing the time since last log update - that already
> gave me a set of machines / users to go and talk with. I also just
> append each WPKG run to the same log file, and even at 100KB (2000
> lines), pkgpower is a noticeably slow swapping between the logs (but I
> don't think that's your fault - just the way I have been logging).
The average log here is about 1k lines. The speed is OK for that. But I
need to test with bigger files, since they are getting bigger here, too.
Also I already thought about not needing to pre-load all logs, but only
load those you really want to see on demand. Maybe I can come up with a
good solution for both.
Cheers
Sebastian
--
Sebastian Elsner - pipeline td - r i s e | fx
t: +49 30 20180300 sebastian at risefx.com
www.risefx.com
r i s e | fx GmbH
Schlesische Strasse 28 Aufgang B, 10997 Berlin
Geschäftsführer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B
More information about the wpkg-users
mailing list