better logging for the reading process