Change to debug logging
Merge pull request #5202 from tsarangi/issue5201

Fix #5201