Changed debug logging