Commit 9e986ce
committed
fix: Remove unnecessary non-PID 1 log output
Removed an `eprintln!` statement that logged when the process was
not running as PID 1. Observing the recent health-check logs, I find
this redundant, un-necessary and in some cases confusing.
The whole purpose of these logs is to ensure that the Devops engineer
is able to confirm that the application is being run as PID 1 and
something else is not configured as entry point in the docker
container. We already provide logs when it is currently run as PID
1. Right now, when we relaunch the process - it's is launched as a
child process and they log these extra message (pid1-rs: Process not
running as Pid 1) which makes all the logs confusing since we see
series of this message.1 parent 92c4f64 commit 9e986ce
3 files changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 54 | | |
59 | 55 | | |
60 | 56 | | |
| |||
0 commit comments