Feature #2555

Allow easy debugging of RSB configuration

Added by J. Moringen almost 8 years ago. Updated over 6 years ago.

Status:In ProgressStart date:04/04/2013
Priority:NormalDue date:
Assignee:J. Moringen% Done:

90%

Category:Configuration
Target version:rsb-0.18

Description

With RSB configuration, it is sometimes hard to debug issues or even understand what is going on exactly.

One way would be an appropriate logging configuration, but not an easy way:
  • Requires knowledge about logger hierarchy (i.e. something like export RSB_RSC_LOGGING_RSC_CONFIG=ALL)
  • Requires modifying the configuration which may interfere with the issue being debugged
  • Requires sifting through tons of output and figuring out what is going on
  • Depends on the RSB implementation
A better solution might be
  • Set an environment variable __CONFIG_DEBUG
  • Process it outside the configuration system (as to not interfere)
  • The output should be minimal (as to not require searching for the relevant information)

Subtasks

Feature #2556: Allow easy debugging of RSB configuration [C++]ResolvedJ. Moringen

Tasks #1458: Implement configuration inspector toolIn ProgressJ. Moringen

Feature #2569: Allow easy debugging of RSB configuration [Python]ResolvedJ. Moringen

Feature #2570: Allow easy debugging of RSB configuration [Java]ResolvedJ. Moringen

Feature #2571: Allow easy debugging of RSB configuration [Common Lisp]ResolvedJ. Moringen

Associated revisions

Revision 3ea7f7ad
Added by J. Moringen almost 8 years ago

Config debug in {common-command-line-options,specification-config,troubleshooting,news}.rst

refs #2555, refs #2556

  • common-command-line-options.rst (Configuration Debugging): new
    section; describe __CONFIG_DEBUG environment variable
  • specification-config.rst (Configuration Debugging): new section;
    describe configuration debugging tools
  • troubleshooting.rst (Configuration Problems): new section; suggest
    configuration debugging tools to solve configuration problems
  • news.rst (RSB 0.14): reference configuration debugging section

Revision 7817e495
Added by J. Moringen almost 8 years ago

Backport: Config debug in {common-command-line-options,specification-config,troubleshooting,news}.rst

refs #2555, refs #2556

  • common-command-line-options.rst (Configuration Debugging): new
    section; describe __CONFIG_DEBUG environment variable
  • specification-config.rst (Configuration Debugging): new section;
    describe configuration debugging tools
  • troubleshooting.rst (Configuration Problems): new section; suggest
    configuration debugging tools to solve configuration problems
  • news.rst (RSB 0.14): reference configuration debugging section

(cherry picked from commit 3ea7f7ad1af7030cb5e3675ea827f74d140a6712)

Revision 148bb0f1
Added by J. Moringen over 7 years ago

Updated configuration debugging description in *.rst

refs #2555

  • common-command-line-options.rst (Common Environment Variables):
    changed variable name {__ -> RSB_}CONFIG_DEBUG
  • specification-config.rst (Configuration Debugging): likewise; updated
    example output
  • news.rst (RSB 0.14): do not try to parse _CONFIG_DEBUG as an envvar
    reference

Revision ac8bcc11
Added by J. Moringen over 7 years ago

Mention config debugging support in all implementations in news.rst

refs #2555

  • troubleshooting.rst (Configuration Problems): applies to all
    implementations
  • news.rst (RSB 0.15): mention configuration debugging support in all
    implementations, C++ already had it

History

#1 Updated by J. Moringen almost 8 years ago

  • Target version changed from rsb-0.14 to rsb-0.15

#2 Updated by J. Moringen over 7 years ago

  • Assignee set to J. Moringen

#3 Updated by J. Moringen over 7 years ago

  • Status changed from New to In Progress

#4 Updated by J. Moringen over 7 years ago

  • Target version changed from rsb-0.15 to rsb-0.16

#5 Updated by J. Moringen almost 7 years ago

  • Target version changed from rsb-0.16 to rsb-0.17

#6 Updated by J. Moringen over 6 years ago

  • Target version changed from rsb-0.17 to rsb-0.18

Also available in: Atom PDF