Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

logging content improvements #13

Merged
merged 3 commits into from
Jan 28, 2015
Merged

logging content improvements #13

merged 3 commits into from
Jan 28, 2015

Commits on Jan 28, 2015

  1. log what we return instead of Response.get_data()

    The Response.get_data() function wasn't giving us the whole data, but a
    list of keys in the data like so:
    
    now
    
        DEBUG [ptero_workflow.api.v1.views]     Returning: ( { 'begins': [0],
            'color': 0,
            'colors': [0],
            'data': { u'petri_response_links': ...
            'inputs': { u'param': u'foo'},
            'method': { 'name': u'execute',
                        'service': u'shell-command',
                        'task': { 'name': u'C', 'type': u'method-list'}},
            'outputs': { u'param': u'foo'},
            'parent_color': None,
            'status': u'begun',
            'status_history': [ { 'status': u'begun',
                                  'timestamp': '2015-01-28 01:07:18'}]},
          200)
    
    was
    
        DEBUG [ptero_workflow.api.v1.views]     Body: 'beginscolorcolorsdatainputsmethodoutputsparent_colorstatusstatus_history'
    
    which is not helpful.
    davidlmorton committed Jan 28, 2015
    Configuration menu
    Copy the full SHA
    6c0693c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6e1ba8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f926407 View commit details
    Browse the repository at this point in the history