extra #ifdef for potentially verbose debug logs