fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Minimal output to stdout/stderr, verbose to log file


From: Jeff Forcier
Subject: Re: [Fab-user] Minimal output to stdout/stderr, verbose to log file
Date: Wed, 29 Sep 2010 10:34:22 -0400

Hi Guido,

First, apologies for the delay in response, we're usually pretty quick
to get back to folks who post! :(

On Mon, Sep 27, 2010 at 1:37 PM, Guido Bartolucci
<address@hidden> wrote:
> Is there an obvious way to send very minimal output from fabric (the
> status level) to stdout/stderr and all of the verbose things to a log
> file? I'd like to rarely look at all that is going on but when I want
> to look at them I want to see everything that has happened.

Unfortunately, Fabric does not currently integrate with any logging modules.

Depending on how strong your needs are and whether you're able to run
off a Git repo, it shouldn't be difficult to update a copy of Fabric
to output in the manner you need (just search the fabric/ folder for
"output", 90% of the time it's a reference to the output object; and
there should only be a handful of results).

Otherwise, I'm hoping to integrate with the stdlib logging module, or
Logbook or similar, in Fabric 1.1. For reference, Fabric 1.0 should be
out the door within a week or two.

Thanks,
Jeff


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



reply via email to

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