File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
crates/core/tedge_agent/src/operation_workflows Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ impl WorkflowActor {
164
164
Ok ( Some ( new_state) ) => {
165
165
self . persist_command_board ( ) . await ?;
166
166
if new_state. is_init ( ) {
167
- tracing:: info!( target: "Audit" , "Execute {operation} command" ) ;
167
+ tracing:: info!( target: "Audit" , "Execute {operation} command, log = {}" , log_file . path ) ;
168
168
self . process_command_update ( new_state. with_log_path ( & log_file. path ) )
169
169
. await ?;
170
170
}
@@ -217,7 +217,11 @@ impl WorkflowActor {
217
217
218
218
match action {
219
219
OperationAction :: Clear => {
220
- tracing:: info!( target: "Audit" , "{} {operation} command" , if state. is_successful( ) { "Executed" } else { "Failed" } ) ;
220
+ tracing:: info!(
221
+ target: "Audit" ,
222
+ "{} {operation} command" ,
223
+ if state. is_successful( ) { "Executed" } else { "Failed" } ,
224
+ ) ;
221
225
if let Some ( invoking_command) =
222
226
self . workflow_repository . invoking_command_state ( & state)
223
227
{
You can’t perform that action at this time.
0 commit comments