logging of input