Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Israel Ochoa
RE: Crashes with 0.06 [ reply ]  
2007-10-17 00:05
Hi, this is the native squid log format which is used to create the squid parser:

time elapsed remotehost code/status bytes method URL rfc931

It's working perfect.

By: Erlend Simonsen
RE: Crashes with 0.06 [ reply ]  
2007-10-16 15:12
You could also try adding a
if method
to the end of the
add_activity(:block => 'types'....)
line
so it looks like:
add_activity(:block => 'types', :name => method, :size => size) if method

By: Erlend Simonsen
RE: Crashes with 0.06 [ reply ]  
2007-10-16 15:09
There is a problem with the current Squid parser, but as I have no Squid logs of my own to test with it's a bit hard to debug.

Could you mail me an example few log entries at mr@fudgie.org?

By: Andrei Staicu
Crashes with 0.06 [ reply ]  
2007-10-16 14:43
Hello. First of all, very interesting software. Many people are looking for some kind of realtime log analysis. Good luck with it.
On to my question:
I'm trying lgTail with a squid log. It work for a few seconds then quits.
Here is the output (it's always the same):

/lib/element.rb:144:in `render': undefined method `+' for nil:NilClass (NoMethodError)
from ./lib/block.rb:47:in `render'
from ./lib/block.rb:45:in `each'
from ./lib/block.rb:45:in `render'
from ./lib/gl_tail.rb:101:in `draw'
from ./lib/gl_tail.rb:100:in `each'
from ./lib/gl_tail.rb:100:in `draw'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `to_proc'
from ./lib/gl_tail.rb:248:in `call'
from ./lib/gl_tail.rb:248:in `glutMainLoop'
from ./lib/gl_tail.rb:248:in `start'
from ./gl_tail.rb:150