Listen: how does logging work

5 views
Skip to first unread message

Russell Fulton

unread,
Jul 18, 2020, 8:48:27 PM7/18/20
to guard-dev
I have written a short program to processes files arriving in an upload directory.  This program will run detached as a daemon and I want to send logs to syslog. 

I normally use the standard Ruby logger module for this but I see that listen has a logger class of its own but I can't see how to use it or how it relates to the ruby module.

Russell

Russell Fulton

unread,
Jul 19, 2020, 4:24:23 PM7/19/20
to guard-dev
I have realised this is a non issue as I  use the Logging module not Logger so there is no potential for confict.

apologies for disturbing this quiet list ;)

R
Reply all
Reply to author
Forward
0 new messages