added log for eofexception