Bug 673479 - Add a grep-friendly string to LIBGUESTFS_TRACE output
Add a grep-friendly string to LIBGUESTFS_TRACE output
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks: 673477
  Show dependency treegraph
 
Reported: 2011-01-28 06:00 EST by Richard W.M. Jones
Modified: 2011-01-29 02:19 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 673477
Environment:
Last Closed: 2011-01-28 09:08:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2011-01-28 06:00:56 EST
+++ This bug was initially created as a clone of Bug #673477 +++

When debugging virt-v2v problems, the most useful debug information is normally LIBGUESTFS_TRACE. Occasionally LIBGUESTFS_DEBUG is also useful, but less often. However, it is a problem when these 2 outputs are mixed. DEBUG is significantly more verbose than TRACE (about 100:1 iirc), and it is not trivial to separate their outputs.

It would greatly simplify debugging instructions to users if we could simply request both outputs. The result should:

* Be simple to view mixed, chronologically
* Be simple to separate

Adding a grep-friendly string to TRACE and/or DEBUG output would achieve this. It doesn't really matter what the string(s) is/are.
Comment 1 Richard W.M. Jones 2011-01-28 06:16:39 EST
Patch posted upstream:
https://www.redhat.com/archives/libguestfs/2011-January/msg00090.html
Comment 3 Richard W.M. Jones 2011-01-28 18:10:56 EST
(In reply to comment #2)
> Pushed upstream:
> http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=1d999540bddd7aea7c2d0fef8b15223d4acc645f

That patch broke a regression test.  This commit is
also needed:
http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=b6c70b3f50472e20a33320e7d76887b011f33c64
Comment 5 Richard W.M. Jones 2011-01-29 02:19:42 EST
(In reply to comment #4)
> And another one:
> http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=6975e87153f593fddd5c27435c2e6347825daca9

Ugh ignore comment 4 that, my mistake.

Note You need to log in before you can comment on or make changes to this bug.