View Issue Details

IDProjectCategoryView StatusLast Update
0001515GNUnetotherpublic2010-10-21 15:46
ReporterCorvus Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionwon't fix 
Summary0001515: more sensible debug output in logs
DescriptionIn the logs in 0.8 theres often lines like:

INFO: Message of type 36 not understood: no handler registered

or similar.

It would be cool if those "Message of type 36" could read
"Message of type 'GNUNET_CS_PROTO_STATS_GET_STATISTICS' (36) " instead, wherever they occur.

all it would need is a function for the debug output that maps the number to descriptive strings (which might as well be identical to their macro names)

TagsNo tags attached.

Activities

Christian Grothoff

2009-11-30 09:31

manager   ~0003924

Here is the problem: most of the time, we hope that these messages will only occur if the running version of gnunetd is older and hence does not know that message type yet. In that case, we cannot print a nice string for the message either because when the specific version of GNUnet was compiled, that message type was not even defined yet.

Also, I don't know how this would make things easier for end-users --- even when it works, it replaces one not-immediately-obvious error message with another one.

Issue History

Date Modified Username Field Change
2009-11-24 20:21 Corvus New Issue
2009-11-30 09:31 Christian Grothoff Note Added: 0003924
2009-11-30 09:31 Christian Grothoff Status new => acknowledged
2010-10-21 15:46 Christian Grothoff Reproducibility have not tried => N/A
2010-10-21 15:46 Christian Grothoff Status acknowledged => closed
2010-10-21 15:46 Christian Grothoff Resolution open => won't fix