Here's a function file for logging and a patch to enable it in phpicalendar.
It's really simple and basic but will work great. So use it as you wish.
BTW Jim we need to have a little conversation about this project. I'll probably be emailing you.
patch.2
logging.php (function file)
patch.2
logging.php (function file)