# Log file when running Kibana from source

**URL:** <https://discuss.elastic.co/t/log-file-when-running-kibana-from-source/316735>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [October 17, 2022, 7:14am UTC](https://discuss.elastic.co/t/log-file-when-running-kibana-from-source/316735 "2022-10-17T07:14:52Z")\
**Posts on this page:** 3\
**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 17, 2022, 7:14am UTC](https://discuss.elastic.co/t/log-file-when-running-kibana-from-source/316735/1 "2022-10-17T07:14:52Z")

</div>

Hi,

I am running kibana from source. I am not getting the logs whatever be the file I specify in the kibana.yml file.

The following is my yml file.

```auto

server.port: 5600
server.host: <host_ip>
elasticsearch.hosts: http://<host_ip>:9200

logging.dest: /kibana/kibana.log

logging:
  appenders:
    file:
      type: file
      fileName: /kibana/kibana.log
      layout:
        type: json
  root:
    appenders:
      - default
      - file

```

I have specified the log file path in 2 ways... as shown above. My kibana folder is in the / directory.

I have been stuck on this issue for a couple of weeks now. Please help.

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 17, 2022, 8:38am UTC](https://discuss.elastic.co/t/log-file-when-running-kibana-from-source/316735/2 "2022-10-17T08:38:10Z")

</div>

Please avoid creating multiple topics on the same question, it makes it harder for people to help you 🙂

> [@How to get log when running kibana as a developer](https://discuss.elastic.co/t/how-to-get-log-when-running-kibana-as-a-developer/316426):
>
> 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 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:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 17, 2022, 8:38am UTC](https://discuss.elastic.co/t/log-file-when-running-kibana-from-source/316735/3 "2022-10-17T08:38:14Z")

</div>


