Reduce benign shutdown and platform log noise on macOS
This commit is contained in:
@@ -128,7 +128,7 @@ class ChainService:
|
|||||||
|
|
||||||
def _signal_handler(self, signum: int, frame: Any) -> None:
|
def _signal_handler(self, signum: int, frame: Any) -> None:
|
||||||
"""Received SIGTERM/SIGINT — stop cleanly and ensure firewall is disengaged."""
|
"""Received SIGTERM/SIGINT — stop cleanly and ensure firewall is disengaged."""
|
||||||
log.warning("Signal %s received — stopping ChainService.", signum)
|
log.info("Signal %s received — stopping ChainService.", signum)
|
||||||
self._stop.set()
|
self._stop.set()
|
||||||
terminate_process(self._proc)
|
terminate_process(self._proc)
|
||||||
fw_emergency_disengage()
|
fw_emergency_disengage()
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ class WinCompat:
|
|||||||
if sys.platform != "win32":
|
if sys.platform != "win32":
|
||||||
return (
|
return (
|
||||||
f"{platform.system()} release={self.release} "
|
f"{platform.system()} release={self.release} "
|
||||||
f"PowerShell={self.powershell_major}.x "
|
|
||||||
"Windows-only privacy controls disabled"
|
"Windows-only privacy controls disabled"
|
||||||
)
|
)
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user