I have also been thinking about how logging could be enhanced further.
One idea I had was to have a "dump log" facility, where the last 10
messages of each debugging level are outputted, and could form part of a
bug report.  This would ease the requirement that someone needs to try
to recreate a bug because the first time it happened they were using
"Normal" logging.

Any thoughts?

Ian.

On Fri, May 04, 2001 at 01:37:55AM -0400, Tavin Cole wrote:
> In 0.4 there are a few enhancements to the logging (and a lot
> more could no doubt be made, but these were very simple and a big
> help to me so far in debugging 0.4):
> 
> * Inclusion of thread names with verbosity > COMPLETE.
> * Object hashcodes given in hex instead of decimal.
> * New log() call that accepts an exception as the "cause" of the log()
>   call and prints a stack trace to the log if verbosity >= DETAILED.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20010504/21107b86/attachment.pgp>

Reply via email to