in reply to Polling a file for changes - Best Practices?
I thought about this approach, (hooking into log events), but it doesn't capture the output of warn() or die() ... only what gets sent to app->log->debug()
there are ways to capture STDERR and STDOUT, and intercept any warn(), die() or print() even. See Override printing to STDOUT/ERR
bw, bliako