If i use log_file config. The apm agent is not starting. If i not using this config. Its starting

APM Server: 8.5.0
Elastic search:8.5.0
apm agent: 1.38.0


recording: true
enabled: true
server_urls: http://apm-server.logging.svc.cluster.local:8200
service_name: test-app
log_file: stderr
log_level: INFO

Welcome to our community! :smiley:

I think you will need to provide a bit more information please.
What agent are you using? What do the logs of the agent show?