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 

On Thursday, February 18, 2021 at 12:02:46 PM UTC-7 Amnon wrote:

> What to do depends on the platform.
> But there are quite a few examples around.
>
> https://github.com/hpcloud/tail
> https://github.com/papertrail/go-tail
>
> https://stackoverflow.com/questions/10135738/reading-log-files-as-theyre-updated-in-go
>
> etc...
>
> On Thursday, 18 February 2021 at 18:50:43 UTC Steve Murphy wrote:
>
>> 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
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/780cb75d-8b1c-48b4-bf56-84362aa1cf94n%40googlegroups.com.

Reply via email to