[wpkg-users] [Bug 21] add /debug:<number> to intensify debug reporting

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Tue Nov 6 14:15:40 CET 2007


http://bugzilla.wpkg.org/show_bug.cgi?id=21


Rainer Meier <skybeam at users.sourceforge.net> changed:

           What    |Removed                     |Added

                 CC|                            |skybeam at users.sourceforge.ne
                   |                            |t




--- Comment #2 from Rainer Meier <skybeam at users.sourceforge.net>  2007-11-06 14:15:35 ---
Sorry to say that but I would like to vote against this modification.

Reasons:
- A user usually wants to see info/warning/error messages during operation.
Debug is used by developers/testers only.

- Developers usually want to see as much output as possible for debug purposes
(and they can cope with it usually).

- Introducing multiple debug levels requires introduction of more log levels
(info/warning/error/debug1/debug2...) which would at least require strict rules
which debug level should be used. Since this cannot be forced developers would
usually add debug level 1 output which renders higher debug levels useless.
Even if the code uses multiple debug levels developers/testers would always go
for the highest debug level instead of trying a lower one just to recognize
that exactly the missing output is missing.


Additionally see Bug 79 for the modifications I did on the script. It allows
separate levels for event log and log file. Therefore it allows getting debug
info within the log file but just getting information/warning/error within the
event log.

However there is just one single debug level which can be activated or
deactivated. Either you want to see lots of ugly debug messages or you don't.
Multiple debug levels only makes sense in case they are extremely well defined
but then you should name them like "extremeDebugInstallation",
"extremeDebugRemove", "extremeDebug*".

Just my five cents.


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list