I'll write it up. The one thing I want to think through first is interaction with syslog, which currently doesn't happen. I have a pretty clear idea of how I'd like this to work.
I think we'll need to add a facility, which ns_log doesn't require, because I can't think of any way for the new log function to tell what package it's running in. Also, it would probably make sense if a package is mounted multiple times, to tell which instance is having the problem. Again, I'm not sure how to tell that at runtime, but I'll experiment.
Once I have a clear, specific proposal (i.e. working code) I'll TIP it :)
As an aside, on the logging front, I also opened bug https://openacs.org/bugtracker/openacs/bug?bug%5fnumber=543 to get the cookie/user_id code installed by default in the config.tcl. Also noticed another bug report requesting logroll be turned on by default for error.log - nice to see the sysadmins are getting taken care of!