# How to get log when running kibana as a developer

**URL:** <https://discuss.elastic.co/t/how-to-get-log-when-running-kibana-as-a-developer/316426>\
**Category:** Kibana\
**Created:** [October 12, 2022, 9:51am UTC](https://discuss.elastic.co/t/how-to-get-log-when-running-kibana-as-a-developer/316426 "2022-10-12T09:51:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sheereen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sheereen/32/122005_2.png) [@Sheereen](https://discuss.elastic.co/u/Sheereen)\
**Post date:** [October 12, 2022, 9:51am UTC](https://discuss.elastic.co/t/how-to-get-log-when-running-kibana-as-a-developer/316426/1 "2022-10-12T09:51:37Z")

</div>

Hi,

I am running kibana as a developer (in development mode). How and where can I get the log files when doing the same?

**Logging details in my kibana.yml**  
My kibana working directory is /my\_work/kibana

```auto
logging.dest: /my_work/kibana/kibana.log

logging:
  appenders:
    file:
      type: file
      fileName: /my_work/kibana/kibana.log
      layout:
        type: json
  root:
    appenders: [default, file]

```

The log file is empty, whatever location I specify in kibana.yml

Thanks

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [October 24, 2022, 1:22pm UTC](https://discuss.elastic.co/t/how-to-get-log-when-running-kibana-as-a-developer/316426/2 "2022-10-24T13:22:01Z")

</div>

Just added this to my `{kibana_folder}/config/kibana.dev.yml` file and I can see logs coming to my `/tmp/kibana.log` file when running kibana from the `main` branch.

```nohighlight
logging:
  appenders:
    file:
      type: file
      fileName: /tmp/kibana.log
      layout:
        type: json
  root:
    appenders: [default, file]
    level: debug

```

Not sure what is wrong with your configuration. Do you see any errors in the console from where you run `yarn start`?

---

<div class="post-metadata">

**Author:** ![Sheereen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sheereen/32/122005_2.png) [@Sheereen](https://discuss.elastic.co/u/Sheereen)\
**Post date:** [October 25, 2022, 10:54am UTC](https://discuss.elastic.co/t/how-to-get-log-when-running-kibana-as-a-developer/316426/3 "2022-10-25T10:54:42Z")

</div>

It worked!! Thanks 🤩

---

<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:** [November 22, 2022, 10:55am UTC](https://discuss.elastic.co/t/how-to-get-log-when-running-kibana-as-a-developer/316426/4 "2022-11-22T10:55:40Z")

</div>

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