[PATCH] Re: Remove over-verbose debug options
nicolas.s-dev at laposte.net
Wed Mar 2 17:58:00 GMT 2011
On Wed, Mar 02, 2011 at 12:35:09PM +0100, Sebastian Spaeth wrote:
> The debug output for dequote, optionsplit is very verbose, outputing
> what the functions are called with and what they return. Those functions
> are now very old mature and rather simple, so it suffices to output
> their return value rather than cluttering out log with too much
> uninteresting garbarge.
> This makes log files much more readable.
I think it would be much more valuable to introduce levels for debug
logs. It appears we don't use debug() that much:
% egrep -R 'debug *\(' * |wc -l
so it should not be too long to enhance all calls if needed.
More information about the OfflineIMAP-project