[gltail] Configuration Questions
Erlend Simonsen
mr at fudgie.org
Fri Jan 9 12:45:05 EST 2009
1) Color is [Red, Green, Blue, Alpha], with each value between 0.0 and 1.0.
So, [1.0, 0.0, 0.0, 1.0] would give red, while [1.0, 1.0, 0.0, 1.0] would
give yellow.
You can also use some preconfigured colors, white, red, green, blue, yellow,
cyan, magenta, purple, orange and pink are built in and usable via
color: magenta
2) That's just an example to show that you can use multiple sites/hosts with
different log-file parsers and configurations. The 2nd examples connects
over SSH on port 222, and expects a Ruby on Rails production logfile instead
of an apache logfile.
-- Erlend
On Fri, Jan 9, 2009 at 4:13 PM, Paul Kessler <pkessler at buyonlinenow.com>wrote:
> I am running the latest version from gitHub (0.1.7) and I still have some
> questions on the configuration file.
>
>
>
> Question 1:
>
> Ok this section is straight forward with the exception of the "color" line.
> Is there any documentation available on the options for this line?
>
>
>
> site1:
>
> host: foobar.com
>
> user: foo
>
> password: topsecret
>
> command: tail -f -n0
>
> files: /var/log/apache/access_log
>
> parser: apache
>
> color: 0.2, 1.0, 0.2, 1.0
>
>
>
>
>
> Question 2:
>
> Can somebody please explain what this section is even used for? I assume to
> parse a log file, but I am not familiar with the use of port 222. Also can
> somebody explain the parser line?
>
>
>
> rails:
>
> host: anotherfunsite.com
>
> user: anotherfunuser
>
> port: 222
>
> command: tail -f -n0
>
> files: /var/www/apps/funapp/current/log/production.log
>
> parser: rails
>
> color: 0.2, 0.2, 1.0, 1.0
>
>
>
>
>
> That should get me through the weekend, and once again thank you everyone
> for your responses!
>
>
>
> Paul
>
>
>
> _______________________________________________
> gltail-general mailing list
> gltail-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/gltail-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/gltail-general/attachments/20090109/aaa72c4c/attachment.html>
More information about the gltail-general
mailing list