Improved TRACE logging of fetched records