Cyrus debugging

Ken Murchison ken at oceana.com
Wed Mar 26 10:41:20 EST 2003



John Alton Tamplin wrote:
> 
> Oliver Pitzeier wrote:
> 
> >Sorry, but I believe there are enough interessting parts in imapd and also in
> >some lib/* file that could be logged for debugging reasons...
> >
> >
> Complaints about the code quality of Cyrus coming from someone who tries
> to pass an int where a char* is expected, whose patch results in
> returning random garbage from the comparison function, and who can't
> produce a stack backtrace from the problem seems a bit out of place.
> 
> The purpose of the syslog logging is not to output every possible thing
> you might want to look at while debugging a code problem, but rather to
> output helpful information at various levels on a running production
> system to report that there is a problem or to trace how something is
> being handled (at the debug levels).  When I want to debug an actual
> problem such as the core dump you refer to, I run the program under a
> debugger or at least investigate the core dump with a debugger.

Nicely phrased.  Thank you.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list