updated debugging logging for character