Project

General

Profile

Actions

Support #32474

open

how can I redirect the complete debug output in a variable in python?

Added by Daniel Ullrich about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Triaged:
No
Team Backlog:
Fixed in Releases:
In Kanboard:

Description

This is an addition to my other ticket
I want to run:
hammer -d -s https://servername -u username-p password host info --location Z1 --organization Corporate --name abv10000vmx.z1 --fields 'Content Information/Applicable Errata/Bug Fix'

If I do something like:
hammer -d -s https://servername -u username-p password host info --location Z1 --organization Corporate --name abv10000vmx.z1 --fields 'Content Information/Applicable Errata/Bug Fix' > test
test has just the empty lines in it no debug output

How can I get the complete debug Output either in a file or much better in a variable in python so I can search it for my erratas?

Actions

Also available in: Atom PDF