# Fleet server - debug logs

**URL:** <https://discuss.elastic.co/t/fleet-server-debug-logs/290441>\
**Category:** Elasticsearch\
**Tags:** fleet\
**Created:** [November 29, 2021, 1:39pm UTC](https://discuss.elastic.co/t/fleet-server-debug-logs/290441 "2021-11-29T13:39:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![FALEN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/falen/32/82754_2.png) [@FALEN](https://discuss.elastic.co/u/FALEN)\
**Post date:** [November 29, 2021, 1:39pm UTC](https://discuss.elastic.co/t/fleet-server-debug-logs/290441/1 "2021-11-29T13:39:36Z")

</div>

Hi all,

Just updated to 7.15.1, and trying to configure fleet. Having some problems, but cannot find logs and spesific errors to trace.

So i need to learn how to enable debug logging for Fleet Server  
Just found debug config for elastic-agent, but it seems that doesnt give much information. Since there is 2 different yml files(elastic-agent.yml / fleet.yml). I think there must be a configuration reference for fleet.yml. But i couldnt found that on documentation.

Am i missing something,

TLDR- how to enable debug for fleet server

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [November 29, 2021, 2:31pm UTC](https://discuss.elastic.co/t/fleet-server-debug-logs/290441/2 "2021-11-29T14:31:44Z")

</div>

You can change the log level of an Elastic Agent through the Fleet UI. It is a bit hidden:

Navigate to Elastic Agent -\> Click your Agent -\> Logs -\> Left bottom: Agent logging level

Hope this helps.

---

<div class="post-metadata">

**Author:** ![FALEN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/falen/32/82754_2.png) [@FALEN](https://discuss.elastic.co/u/FALEN)\
**Post date:** [November 30, 2021, 6:13am UTC](https://discuss.elastic.co/t/fleet-server-debug-logs/290441/3 "2021-11-30T06:13:16Z")

</div>

@ruflin good morning,

im having problems pre-integration, agent starting level. So im not sure if this applicable on my case

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [November 30, 2021, 2:00pm UTC](https://discuss.elastic.co/t/fleet-server-debug-logs/290441/4 "2021-11-30T14:00:23Z")

</div>

Got it. The logs for fleet-server and all other processes run by elastic-agent should be in the `logs` directory. Depending on how you / run install elastic-agent and OS the location can be a bit different. Happy to help find it if you can share more details of your environment.

As soon as you have the logs, please share the logs as these likely contain enough information to find the issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 28, 2021, 2:00pm UTC](https://discuss.elastic.co/t/fleet-server-debug-logs/290441/5 "2021-12-28T14:00:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
