[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] logging to file?
From: |
Jeff Forcier |
Subject: |
Re: [Fab-user] logging to file? |
Date: |
Wed, 25 Jan 2012 14:18:20 -0800 |
On Wed, Jan 25, 2012 at 10:24 AM, Chris Withers <address@hidden> wrote:
> - when does fabric write to stderr versus stdout?
It tries to be "Unix-y", so normal information like "Running task 'x'"
and such goes to stdout; errors/aborts/tracebacks should go to stderr;
remote stdout/stderr are sent to the appropriate local stream; etc.
> - what happens with password prompts and the like?
Those won't work well when redirecting, no, so you'd have to ensure
your task(s) can be run noninteractively by setting Fab env vars like
env.password, using ssh keys, those sorts of things.
-Jeff
>
>
> cheers,
>
> Chris
>
> --
> Simplistix - Content Management, Batch Processing & Python Consulting
> - http://www.simplistix.co.uk
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user
--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org
Re: [Fab-user] logging to file?, Jeff Forcier, 2012/01/25