Skip to content

Commit 92c6174

Browse files
committed
test
1 parent ef506c2 commit 92c6174

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

internal/datasource/host/exec/exec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ func (*Exec) ProcessID() int32 {
5656
}
5757

5858
func (*Exec) KillProcess(pid int32) error {
59+
slog.Info("Kill PRocess")
5960
return syscall.Kill(int(pid), syscall.SIGHUP)
6061
}
6162

internal/resource/nginx_instance_operator.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,12 @@ func (i *NginxInstanceOperator) errorLogs(instance *mpi.Instance) (errorLogs []s
112112
errorLogs = instance.GetInstanceRuntime().GetNginxRuntimeInfo().GetErrorLogs()
113113
}
114114

115+
slog.Info("Error Logs", "", errorLogs)
115116
return errorLogs
116117
}
117118

118119
func (i *NginxInstanceOperator) monitorLogs(ctx context.Context, errorLogs []string, errorChannel chan error) {
120+
slog.Info("Monitoring Logs")
119121
if len(errorLogs) == 0 {
120122
slog.InfoContext(ctx, "No NGINX error logs found to monitor")
121123
return

0 commit comments

Comments
 (0)