@@ -66,11 +66,11 @@ func (wrapper *PluginWrapper) Deploy(ctx context.Context, workingDir, host, proj
66
66
output , err := wrapper .command (newUpCommand (filePaths , forceRereate ), workingDir , host , projectName , envFilePath )
67
67
if len (output ) != 0 {
68
68
if err != nil {
69
- log .Printf ("[libstack,composebinary] [message: deploy complete] [output: %s] [err: %s]" , output , err )
70
69
return err
71
70
}
72
71
73
- log .Printf ("[libstack,composebinary] [message: deploy complete] [output: %s] [success]" , output )
72
+ log .Printf ("[INFO] [libstack,composeplugin] [message: Stack deployment successful]" )
73
+ log .Printf ("[DEBUG] [libstack,composeplugin] [output: %s]" , output )
74
74
}
75
75
76
76
return err
@@ -81,11 +81,11 @@ func (wrapper *PluginWrapper) Remove(ctx context.Context, workingDir, host, proj
81
81
output , err := wrapper .command (newDownCommand (filePaths ), workingDir , host , projectName , "" )
82
82
if len (output ) != 0 {
83
83
if err != nil {
84
- log .Printf ("[libstack,composebinary] [message: remove complete] [output: %s] [err: %s]" , output , err )
85
84
return err
86
85
}
87
86
88
- log .Printf ("[libstack,composebinary] [message: remove complete] [output: %s] [success]" , output )
87
+ log .Printf ("[INFO] [libstack,composeplugin] [message: Stack removal successful]" )
88
+ log .Printf ("[DEBUG] [libstack,composeplugin] [output: %s]" , output )
89
89
}
90
90
91
91
return err
@@ -96,11 +96,11 @@ func (wrapper *PluginWrapper) Pull(ctx context.Context, workingDir, host, projec
96
96
output , err := wrapper .command (newPullCommand (filePaths ), workingDir , host , projectName , "" )
97
97
if len (output ) != 0 {
98
98
if err != nil {
99
- log .Printf ("[libstack,composebinary] [message: pull complete] [output: %s] [err: %s]" , output , err )
100
99
return err
101
100
}
102
101
103
- log .Printf ("[libstack,composebinary] [message: pull complete] [output: %s] [success]" , output )
102
+ log .Printf ("[INFO] [libstack,composeplugin] [message: Stack pull successful]" )
103
+ log .Printf ("[DEBUG] [libstack,composeplugin] [output: %s]" , output )
104
104
}
105
105
106
106
return err
0 commit comments