Merge lp:~rvb/gwacl/add-debug into lp:gwacl
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | 37 |
Merged at revision: | 42 |
Proposed branch: | lp:~rvb/gwacl/add-debug |
Merge into: | lp:gwacl |
Diff against target: |
76 lines (+22/-1) 2 files modified
example/live_example_managementapi.go (+3/-1) x509dispatcher.go (+19/-0) |
To merge this branch: | bzr merge lp:~rvb/gwacl/add-debug |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+154571@code.launchpad.net |
Commit message
Add option to print debugging output.
Description of the change
A bit ugly to have a module-level boolean but it's much simpler compared to always having to pass around the value of the 'verbose' boolean.
To post a comment you must log in.
If you're going to mix log.Printf and log.Println, you might use log.Printf here as well:
+ log.Println( "Request body: " + string( request. Payload) )
(x509dispatcher.go ine 84 or so, in performX509Curl Request)