View Issue Details

IDProjectCategoryView StatusLast Update
0003408GNUnetcadet servicepublic2018-06-06 22:25
ReporterBart Polot Assigned ToBart Polot Due Date
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0003408: Add a verbose debug/dump feature to gnunet-cadet CLI and service.
DescriptionTo allow users to submit better bug reports, gnunet-cadet should have a --dump option. This would cause the service to dump a whole lot of information to stderr with level 'ERROR' (to make sure it gets displayed) and the user could copy-paste this information to Mantis to help find the cause of a misbehavior.
TagsNo tags attached.

Activities

Christian Grothoff

2014-06-04 15:07

manager   ~0008400

Actually, command-line tools should output their main results
using 'fprintf (stdout'), not via the logger.

Bart Polot

2014-06-18 02:44

reporter   ~0008446

Implemented in r33730.

This feature makes the CADET *service* to dump all kinds of debug info to stderr (all peers with all their paths and the associated tunnels with all their connections with their paths and congestion control data, and channels with their reliability and low control state and the tunnel key exchange contexts, etc). This is much, much easier than structure and pack it in messages, fragment it, check for errors and parse on the receiving end. It also allows for immediate changes, should extra info be included, updating only one function of the service code instead of the message struct header file, several functions in the service, the API and the CLI.

If needed, it could be compiled in selectively to disable it for "stable releases", but for debug it really makes life much easier.

For non-extra-verbose-only-for-debugging info, the CLI does write metadata to stdout, but only including basic information.

Issue History

Date ModifiedUsernameFieldChange
2014-05-16 10:35Bart PolotNew Issue
2014-05-16 10:35Bart PolotStatusnew => assigned
2014-05-16 10:35Bart PolotAssigned To => Bart Polot
2014-06-04 15:07Christian GrothoffNote Added: 0008400
2014-06-04 15:07Christian GrothoffPriorityhigh => normal
2014-06-04 15:07Christian GrothoffTarget Version0.11.0pre66 =>
2014-06-18 02:44Bart PolotNote Added: 0008446
2014-06-18 02:44Bart PolotStatusassigned => resolved
2014-06-18 02:44Bart PolotFixed in Version => Git master
2014-06-18 02:44Bart PolotResolutionopen => fixed
2014-06-27 19:56Christian GrothoffFixed in VersionGit master => 0.11.0pre66
2014-06-27 19:56Christian GrothoffTarget Version => 0.11.0pre66
2018-06-06 22:25Christian GrothoffStatusresolved => closed