diff --git a/Sources/ContainerCommands/Machine/MachineRun.swift b/Sources/ContainerCommands/Machine/MachineRun.swift index dc62132ca..379375597 100644 --- a/Sources/ContainerCommands/Machine/MachineRun.swift +++ b/Sources/ContainerCommands/Machine/MachineRun.swift @@ -128,8 +128,9 @@ extension Application { if !tty { var handler = SignalThreshold(threshold: 3, signals: [SIGINT, SIGTERM]) + let log = self.log handler.start { - print("Received 3 SIGINT/SIGTERM's, forcefully exiting.") + log.warning("Received 3 SIGINT/SIGTERM's, forcefully exiting.") Darwin.exit(1) } }