Logging data with scribe

Posted by lukatmyshu on Stack Overflow See other posts from Stack Overflow or by lukatmyshu
Published on 2010-02-10T23:54:10Z Indexed on 2010/05/21 7:20 UTC
Read the original article Hit count: 150

Filed under:
|

None of the scribe examples I've seen actually mention the best way to take logs/logfiles and send them to scribe. I could configure a logrotate script that has a postrotate section that "cats" the rotated file to scribe (but then I get minutes latency at best).
The other option is to keep a "tail -f= | my_scribe_sender" and hope that the process never gets killed. However then you really can't guarantee that you're not missing/duplicating data.

© Stack Overflow or respective owner

Related posts about logging

Related posts about scribe