fab-user
[Top][All Lists]
Advanced

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

[Fab-user] print vs. logging


From: Yann Malet
Subject: [Fab-user] print vs. logging
Date: Fri, 23 Oct 2009 11:41:19 -0400

Hello Bruno,

I might be a bit late to comment on this thread but I am giving it a try now. I have been working lately on trying to scratch this itch. The result of this can be tested/forked from here : http://bitbucket.org/yml/fabric_factory/

And the question you asked is the main pain point. You will find here the particular approach I have used : http://bitbucket.org/yml/fabric_factory/src/tip/src/worker/__init__.py#cl-105

Ideally I would like an api where I can call a task and get back the output and the error instead of having to hack sys.stdout and sys.stderr.

Regards,
Yann

reply via email to

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