On Tue, 29 Jun 2004, HIROSHIMA Naoki wrote:
>Hi Andy,
>Andreas Aardal Hanssen wrote:
>> In 1.3 I'll add a --with-debug configure switch which will make Binc dump
>> lots of useful stuff to the logs, so it'll be easier to debug these
>> problems. But today we'll have to stick with strace.
>Will you add logging level which can be specified in run time
>configuration (hopefully environment variable)?
>I don't know what level would be useful to have but maybe Full for
>everything, Authentication just for authentication part, Protocol for
>IMAP commands and responses.... might be useful.  Just a thought.

It'll probably be an environment variable DEBUG which can be either
defined or undefined. I believe we can agree on a certain minimum amount
of debug info for normal operation (connection received,
authenticated/failed, logged off/disconnected, including any irregular
errors that may occur such as "out of disk space" or other IO trouble).
The DEBUG output would then be extremely extensive, covering mostly
everything that could be interesting, including a full protocol dump.

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."

Reply via email to