On Tuesday, February 7, 2017 at 2:46:21 AM UTC-8, Andy Shipman wrote:
>
> Thanks for the tips; I'm trying the connection_validator as that is the 
> only immediate option for me.
>
> Is there a way to log that extension in action? I'd like to check it is 
> working as expected (i.e. I've set it up correctly, not that Sequel is 
> working correctly :)
>

I suppose you could use an :after_connect hook that logs something for all 
new connections.  You could also do:

  DB.log_connection_info = true

Which will include connection info in the logs, and you could check when 
things change.  From the sound of it, this isn't a very high-traffic 
application.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to