Francesco Romani has posted comments on this change. Change subject: contrib: add simple tool to prettify python dumps ......................................................................
Patch Set 3: (1 comment) https://gerrit.ovirt.org/#/c/60272/3/contrib/refmt File contrib/refmt: Line 37: # Line 38: # Example: Line 39: # - before: Line 40: # (please note line continuations to fit in 80 columns) Line 41: # $ cat repoStats.out > What is repoStats.out? can we have a tool to reformat raw logs for better r We need a way to identify the lines which include dump of python data structures (API parameters/responses). Perhaps the simpler and safer way is somehow tag those lines, and mangle only those in the reformatting step. Line 42: # {u'b0390d9e-2f1d-43c0-a56c-a20af032e934': {'code': 0, 'actual': True, \ Line 43: # 'version': 0, 'acquired': True, 'delay': '0.000521661', \ Line 44: # 'lastCheck': '9.8', 'valid': True}, \ Line 45: # u'c17ac7f2-bec0-4ed1-a04e-790799e65d7c': {'code': 0, 'actual': True, \ -- To view, visit https://gerrit.ovirt.org/60272 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I3962648db542afb4297e7712c017ffa266c52424 Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Francesco Romani <from...@redhat.com> Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com> Gerrit-Reviewer: Francesco Romani <from...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczew...@gmail.com> Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org> Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org