Change some debug logging behavior