Back to fabric, I rewrote yesterday my perl deployment tool in fabric.
So far, I handle the basic use case "simple deployment".
I have other UC to implement :
backup (quite easy)
For complex deployment, i may need to run extra commandes like run some scripts on one or serveral frontal servers or on a given db.
I would like to avoid providing a new fabfile and was looking for taking into account some extra commands which would not be used for simple deployment. Any clue ?
My other concern is that I would like that all actions are written to a log file so that I can audit if a deployment went well or not. Deployment on preprod/prod are not made by me but by the firm which manages our servers. So far I have the feeling that logging facilities are limited to stderr/stdout in the current console.
Any way to generate a log file that contains all info that are displayed to the users in the console ? I would like both logging and displaying at the same time.