Bug 673479 - Add a grep-friendly string to LIBGUESTFS_TRACE output
Summary: Add a grep-friendly string to LIBGUESTFS_TRACE output
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 673477
TreeView+ depends on / blocked
 
Reported: 2011-01-28 11:00 UTC by Richard W.M. Jones
Modified: 2011-01-29 07:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 673477
Environment:
Last Closed: 2011-01-28 14:08:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-01-28 11:00:56 UTC
+++ 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 11:16:39 UTC
Patch posted upstream:
https://www.redhat.com/archives/libguestfs/2011-January/msg00090.html

Comment 3 Richard W.M. Jones 2011-01-28 23:10:56 UTC
(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 07:19:42 UTC
(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.