add debug log statement to collector handler