debug improvement suggestion

From: Evgeny Kotsuba <evgen__k@dont-contact.us>
Date: Tue, 29 Oct 2002 12:59:29 +0300

Hi,

I offer to include to config something like I do in squid/2

#EK VAC Bonus:
  
# TAG: UseANSI_stdout on|off
# use ANSI colors: red for FATAL and yellow for WARNING:
#Default:
#UseANSI_stdout on

# TAG: UseBeepAtFatalError on|off
# Beep sound at Fatal errors and Warnings
#Default:
#UseBeepAtFatalError on

First is to use color when output to stderr is doing and output string
contain FATAL or WARNING (check via strstr)
It may be usable at long debugging.

Second is to use DosBeep(frec,duration) or something like
(platform-dependent)
It may be usable at long debugging and at detach/daemon mode - to hear
that something is wrong.
As a trick - I remember the time of beep so that not to make noise
continuously

SY,
Evgeny Kotsuba
Received on Tue Oct 29 2002 - 02:59:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:17:02 MST