Forum OpenACS Development: Re: Getting rid of the haystack in the error log

Collapse
Posted by Randy O'Meara on
Joel,

Your ideas sound good. But why not, while we're at it, provide an interface to dynamically set the level? No reason to force a server restart to change the logging level.

It would be good to be able to do something like: I don't want to see the profuse logging from an uninteresting package... Now, I don't want see logging from another package... and so on. In this way, you could really zero in on the interesting detail while paring away the fluff from other packages, where package in this instance really implies a particular namespace.

This might require an nsv to hold the "uninteresting" package names (or, maybe even the DB so it remembers across service restarts). The TCL call stack could be used to determine the namespace of the caller?

Randy