Skip to content

Commit

Permalink
Make kill log in DagFileProcessorProcess more informative (apache#11124)
Browse files Browse the repository at this point in the history
  • Loading branch information
turbaszek authored Sep 27, 2020
1 parent 4d2a787 commit e2dc706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/jobs/scheduler_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _kill_process(self) -> None:
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
Expand Down

0 comments on commit e2dc706

Please sign in to comment.