I never had troubles with the existing mechanism either. This script helps me find errors when tail'ing the error log by colorizing it and putting errors in bold red:
https://openacs.org/storage/file?file_id=151462
A few Shift-PGUP at most quickly reveal the source of any errors after a reload of the offending page.