Deployer: Idea: Logs

Created on 13 Jul 2015  路  8Comments  路  Source: deployphp/deployer

It would be nice if Deployer kept a log of each deployment. The logs should contain the same as -vvv outputs.

Option to enable/disable logging and choose a log directory.

WDYT?

feature

Most helpful comment

What about using for example saldaek/monolog? Than everyone can configure where to put their logs

All 8 comments

Yes! This is cool feature. Must have!

:+1:

Is anyone doing this?

Is there a preferred way of passing information between tasks? For example, lets say you use the hipchat recipe, and want to push the deploy log to a hipchat channel, and then later make another recipe collecting the git changelog between this and previous version, and you want to post that to hipchat as well.

What about using for example saldaek/monolog? Than everyone can configure where to put their logs

+1

Monolog is a great idea!

If you use a DIC in v4 it would be nice if it was overwriteable before anything was run. So I could replace the container value "logger" with my own psr3 compatible logger.

Which is monolog but might write to a different file or greylog.

Would be nice if in my deploy.php I just set a bunch of container values, then the deployer app is run.

dep cli sets up basic container, loads my deployer scripts which first runs common recipe then my deploy recipe then runs the app with container as a constructor parameter (as defined in the container).

@oanhnn @elfet @Danielss89 why this issue was closed?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

exts picture exts  路  3Comments

timkley picture timkley  路  4Comments

dima-stefantsov picture dima-stefantsov  路  4Comments

brunodevel picture brunodevel  路  3Comments

osbulbul picture osbulbul  路  3Comments