Bug #11407

[SDK] Go respects ARVADOS_DEBUG to enable debug logging

Added by Peter Amstutz 7 months ago. Updated 7 months ago.

Status:ResolvedStart date:04/03/2017
Priority:NormalDue date:
Assignee:Peter Amstutz% Done:

100%

Category:-
Target version:2017-04-12 sprint
Story points0.5Remaining (hours)0.00 hour
Velocity based estimate0 days

Description

keepclient.New() should check for ARVADOS_DEBUG in environment and enable DebugPrintf()


Subtasks

Task #11409: Review 11407-go-sdk-debugResolvedPeter Amstutz

Associated revisions

Revision 07c92074
Added by Peter Amstutz 7 months ago

Merge branch '11407-go-sdk-debug' closes #11407

History

#1 Updated by Peter Amstutz 7 months ago

  • Story points set to 0.5

#2 Updated by Peter Amstutz 7 months ago

  • Description updated (diff)

#3 Updated by Peter Amstutz 7 months ago

  • Subject changed from [SDK] Can use ARVADOS_DEBUG to enable debug logging to [SDK] Go respects ARVADOS_DEBUG to enable debug logging

#4 Updated by Peter Amstutz 7 months ago

  • Status changed from New to In Progress
  • Assignee set to Peter Amstutz

#5 Updated by Tom Clegg 7 months ago

Might be good to do that in init() instead of re-installing debug mode each time a new KeepClient is created. LGTM otherwise.

#6 Updated by Peter Amstutz 7 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:07c92074fe2b493dc8cd0abdad154e5b36d4adfc.

Also available in: Atom PDF