Bug #11407

[SDK] Go respects ARVADOS_DEBUG to enable debug logging

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

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
04/03/2017
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5

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 8 months ago

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

History

#1 Updated by Peter Amstutz 8 months ago

  • Story points set to 0.5

#2 Updated by Peter Amstutz 8 months ago

  • Description updated (diff)

#3 Updated by Peter Amstutz 8 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 8 months ago

  • Status changed from New to In Progress
  • Assigned To set to Peter Amstutz

#5 Updated by Tom Clegg 8 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 8 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