modified logs to add agent fields settings