Update to log in case of STDIN_FILENO