Fix usage of val/value in GpioInputSwith and move all log to input domain