Open stuartskelton opened 3 weeks ago
Hi Stuart, how's things? I'd forgotten about this module tbh, we never ended up using it in the ATS team so I didn't know if it was actually useful! - instead I wrote a Log::Any proxy class (to handle the different Mojo::Log interface) and then a Log::Any::Adapter to use the Bean::Auditor library (don't know if you remember that, I think a lot of this stuff seemed to pass the Candidates team by!). Thanks for the report, I'll take a look Michael
Hi Michael,
Its been a while and I hope all is good with you. I found something that might be useful to know.
I have used this code in a project and found a circular reference in the call back in
format
. Passing$self
into the call back can mean it enters the event loop, and in some systems the Log file handle is never closed leading to a tooToo Many Files Open
failure. Which in my case stopped my system from creating redis connections :(.I have forked this in my project and copied the attributes into their in variable before giving them to the anonymous sub.
something similar to this