Bug 1312008
Summary: | [RFE] Create a armrest log for debug output for enhanced troubleshooting. | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> |
Component: | Providers | Assignee: | Daniel Berger <dberger> |
Status: | CLOSED ERRATA | QA Contact: | Jeff Teehan <jteehan> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 5.5.0 | CC: | jfrey, jhardy, obarenbo |
Target Milestone: | GA | Keywords: | FutureFeature |
Target Release: | 5.6.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | azure:maintenance | ||
Fixed In Version: | 5.6.0.1 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-29 15:39:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Josh Carter
2016-02-25 13:58:31 UTC
The azure-armrest gem uses the rest-client gem internally, and that has some baked in logging support that you can use by setting your RESTCLIENT_LOG environment variable. That can point to a file, or to an IO stream (stdout, etc). The output includes the requests being made, and the contents of each request. As of azure-armrest 0.2.4, you can now call Azure::ArmrestService.log and Azure::ArmrestService.log= to set a log file to either a file name or a file handle. You may still also set the RESTCLIENT_LOG environment variable, though it must be set before loading the azure-armrest gem to get picked up. Moving to verified for 5.6 Beta 1 using https://10.16.7.174/vm_cloud/explorer Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 |