add logger in kill