Am Donnerstag, 12. August 2004 09:38 schrieb Terrel Shumway: > It's pretty scary to try to get something useful > from courier's logs because there is no standard > format for log messages. It's not that heavy...Maybe it could be easier :)
> First: does anyone have a greppy perl script or such > that will make sense of the log files? On http://www.courier-mta.org is a link on cla (This one: http://zak.ecotroph.net/~anewton/cla/) and another log analyzer (that one: http://www.enesbe.com.au/cgi-bin/wiki.pl?EnesbeDownloads) which requires webmin. I've only tested cla and it produces something like that: ---snip--- == SMTP Daily Totals ========================================================================================= SMTP Local Delivery Local SMTP Relay SMTP Broken 5XX Freemail Day Connects Deliveries Size Errors Relays Size Errors Pipes Errors Errors ------ -------- ---------- ---------- ------ ------ ---------- ------ ------ ------ -------- Aug 15 174 182 770202 0 0 0 4 10 4 0 Aug 14 410 546 2803820 0 0 0 2 0 2 0 Aug 13 700 1028 5106002 0 2 9874 20 2 20 0 Aug 12 504 1068 5382788 0 0 0 8 4 4 0 ---snap--- Well, it looks better in a console... > I am willing to go through the code and standardize > the current log messages if no one objects. (It won't > be all at once, but I'll get to it a little at a time.) If you do this, create a patch of it, so everybody could think about, if he/she want's to destroy compatibility to logwatch (I don't use logwatch, so there is no need to be compatible to it) > Dream BIG! > -- Terrel HAND, Steffen ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
