fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Redirect Debug Output to logfile


From: Jeff Forcier
Subject: Re: [Fab-user] Redirect Debug Output to logfile
Date: Wed, 21 Dec 2011 15:57:31 -0800

Hi Jackie,

On Wed, Dec 21, 2011 at 1:10 PM, Jacqueline Atkins
<address@hidden> wrote:

> I cannot figure out how to redirect the debug output to a file rather than
> the console.

There's no great way to do this natively, though an upcoming release
(possibly the very next one within a week or two) will add real
logging support. You can try to work around it by redirecting *all*
output to a file, in a few ways (your shell, or by replacing Python's
sys.stdout with an open real file) but that's a bit of a desperate
measure.

Keep an eye on https://github.com/fabric/fabric/issues/57 to see when
that is fixed in source control, or on this mailing list for a release
announcement.

Best,
Jeff


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



reply via email to

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