One of the wackier ideas I have had to solve this problem, is to use a private IRC server.
(waits for laughter to subside...)
But seriously, I think it could work quite well. Standard syslog is flawed at a large site central logging because we ran out of channels, and that got me thinking. Here are some of the things that I think would be good about using IRC for application logging:
- With IRC you have easy bot's to save the log to disk, and you can do that in more than one location to have redundancy of storage
- When you are tracing a live problem, you can just log in to the appropriate logging IRC channel (with the appropriate security) and watch the log
- Support staff could use regular IRC client features to alert them to error strings as soon as they occur within the log
- The protocol is lightweight, well supported, and requires no extra daemons/libraries to be installed on your servers.
- Multiple servers running the same application (eg. a web farm) could log to a single channel, thus automatically interleaving into a single time-sorted log (each server would use a different nick to allow easy source identification)
Syslog does, of course, have many benefits. Not least of which is the ability to chose local/remote/local+remote logging via the syslog config. There are also extensions to syslog which address some of it's weaknesses.
I'd be very interested if anyone has ever done anything like this. Of course I have left may issues unaddressed, like security etc.
Update: Specifically, I'm very interested to hear if anyone has ever implemented some form of logging server using POE
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.