Make kill log in DagFileProcessorProcess more informative (#11124)
This commit is contained in:
Родитель
4d2a787070
Коммит
e2dc706b08
|
@ -243,7 +243,7 @@ class DagFileProcessorProcess(AbstractDagFileProcessorProcess, LoggingMixin, Mul
|
|||
raise AirflowException("Tried to kill process before starting!")
|
||||
|
||||
if self._process.is_alive() and self._process.pid:
|
||||
self.log.warning("Killing PID %s", self._process.pid)
|
||||
self.log.warning("Killing DAGFileProcessorProcess (PID=%d)", self._process.pid)
|
||||
os.kill(self._process.pid, signal.SIGKILL)
|
||||
|
||||
@property
|
||||
|
|
Загрузка…
Ссылка в новой задаче