fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Suppressing [hostname] from stdout


From: Jeff Forcier
Subject: Re: [Fab-user] Suppressing [hostname] from stdout
Date: Fri, 10 Jun 2011 17:53:19 -0700

On Fri, Jun 10, 2011 at 2:06 AM, Miquel <address@hidden> wrote:
> Hi,
>
> is there a way to prevent fabric from prepending [hostname] to stdout?

Not exactly -- you can prevent the entire "[hostname] <command-type>:"
from showing up (in 1.x) by specifying env.output_prefix = False --
but it's not yet possible to customize the format of that prefix when
it *is* enabled. So if you're OK not being able to see what is stdout
vs what is stderr, that'll do the job.

Full control over the prefix is coming soon, hopefully in 1.2 (for
reference, 1.1 will be out either this weekend or in a couple of
weeks) and may also coincide with integrating a logging module, FYI.


-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]