Commit d653ec4
committed
Log pidfile creation and removal
The pidfile is also used as a lock file. Add logs to reveal incorrect
creation or removal of the pidfile.
When creating a pidfile we will see:
INFO | Created pidfile "/tmp/socket_vmnet.pid" for process 37297
When removing we will see:
INFO | Removed pidfile "/tmp/socket_vmnet.pid" for process 37297
Signed-off-by: Nir Soffer <nirsof@gmail.com>1 parent daadaf3 commit d653ec4
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
361 | 362 | | |
| 363 | + | |
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
| |||
385 | 387 | | |
386 | 388 | | |
387 | 389 | | |
| 390 | + | |
388 | 391 | | |
389 | 392 | | |
390 | 393 | | |
| |||
0 commit comments