Changing how debug logging is done.