@@ -48,14 +48,14 @@ module.exports = {
48
48
}
49
49
} ,
50
50
configure : function ( /* context */ ) {
51
- this . log ( 'validating config' ) ;
51
+ this . log ( 'validating config' , { verbose : true } ) ;
52
52
53
53
if ( ! this . pluginConfig . url ) {
54
54
[ 'host' , 'port' ] . forEach ( this . applyDefaultConfigProperty . bind ( this ) ) ;
55
55
}
56
56
[ 'filePattern' , 'distDir' , 'keyPrefix' , 'revisionKey' , 'didDeployMessage' , 'redisDeployClient' ] . forEach ( this . applyDefaultConfigProperty . bind ( this ) ) ;
57
57
58
- this . log ( 'config ok' ) ;
58
+ this . log ( 'config ok' , { verbose : true } ) ;
59
59
} ,
60
60
61
61
upload : function ( /* context */ ) {
@@ -66,7 +66,7 @@ module.exports = {
66
66
var keyPrefix = this . readConfig ( 'keyPrefix' ) ;
67
67
var filePath = path . join ( distDir , filePattern ) ;
68
68
69
- this . log ( 'Uploading `' + filePath + '`' ) ;
69
+ this . log ( 'Uploading `' + filePath + '`' , { verbose : true } ) ;
70
70
return this . _readFileContents ( filePath )
71
71
. then ( redisDeployClient . upload . bind ( redisDeployClient , keyPrefix , revisionKey ) )
72
72
. then ( this . _uploadSuccessMessage . bind ( this ) )
@@ -81,7 +81,7 @@ module.exports = {
81
81
var revisionKey = this . readConfig ( 'revisionKey' ) ;
82
82
var keyPrefix = this . readConfig ( 'keyPrefix' ) ;
83
83
84
- this . log ( 'Activating revision `' + revisionKey + '`' ) ;
84
+ this . log ( 'Activating revision `' + revisionKey + '`' , { verbose : true } ) ;
85
85
return Promise . resolve ( redisDeployClient . activate ( keyPrefix , revisionKey ) )
86
86
. then ( this . log . bind ( this , '✔ Activated revision `' + revisionKey + '`' , { } ) )
87
87
. then ( function ( ) {
@@ -121,7 +121,7 @@ module.exports = {
121
121
} ,
122
122
123
123
_uploadSuccessMessage : function ( key ) {
124
- this . log ( 'Uploaded with key `' + key + '`' ) ;
124
+ this . log ( 'Uploaded with key `' + key + '`' , { verbose : true } ) ;
125
125
return Promise . resolve ( key ) ;
126
126
} ,
127
127
0 commit comments