Agent in fleet, how to change settings?

my elastic-agent is enrolled to fleet. Where can I change settings regarding json files from "/var/log/elastic-agent"? I want to stop writing it.