The GO equiv. to 'tail -f' ?

129 views
Skip to first unread message

Steve Murphy

unread,
Feb 18, 2021, 1:50:43 PM2/18/21
to golan...@googlegroups.com
I'm having a hard time finding some tools in GO to follow log files and make real-time commentary about stuff like alerting about outages now underway, and  making alerts over things that *should* happen by now but weren't, and such-like.

Any advice? I'm pretty sure I saw an article or two some months ago, but now nothing shows up in my search engine.

Many thanks

murf

--

Steve Murphy
ParseTree Corporation

Amnon

unread,
Feb 18, 2021, 2:02:46 PM2/18/21
to golang-nuts

Steve Murphy

unread,
Feb 20, 2021, 12:53:01 PM2/20/21
to golang-nuts

Many, many thanks. The hpcloud/tail hit the spot exactly, along with using timer.AfterFunc() along with judicious use of <timervar>.Stop() calls to turn on and off
audible alarms. That was just the help I needed! again, Many thanks!

murf 
Reply all
Reply to author
Forward
0 new messages