Closed tomzx closed 9 years ago
I think logging is good thing. But must be implemented very careful. Now logging able by simple
deb deploy -vvv > deploy.log
Before implementing logs to file in Deployer we need to understand use cases and for what it's will be used. I think logging feature is good for v3.1 release of Deployer.
At the moment, if you are in
-vvv
mode (debug), you get aRuntimeException
if there's an issue while runningdeployer
. However, I think it would be very useful to be able to inspect the complete output log of the comment if necessary.Here's an example of what is currently outputted.
I suggest that by default, a
deployer-$server_name.log
file be created in the folder where execution happened and which contains either the full log of all the commands up to this point, or only of the command that failed.