# Setting "logging.dest" is deprecated

**URL:** <https://discuss.elastic.co/t/setting-logging-dest-is-deprecated/337100>\
**Category:** Kibana\
**Created:** [June 28, 2023, 2:45pm UTC](https://discuss.elastic.co/t/setting-logging-dest-is-deprecated/337100 "2023-06-28T14:45:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GuillaumeBA](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@GuillaumeBA](https://discuss.elastic.co/u/GuillaumeBA)\
**Post date:** [June 28, 2023, 2:45pm UTC](https://discuss.elastic.co/t/setting-logging-dest-is-deprecated/337100/1 "2023-06-28T14:45:57Z")

</div>

Hi  
I'm trying to upgrade my ELK from 7.16.2 to 8.x and i'm facing this last critical error :

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b739f41c305436a9f8533a81fe3675117919744e.png)

I have already replaced the "logging.dest:" in kibana.yml by the parameters I have founded in the upgrade assistant for ELK 8.0.

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

Also in the file kibana.service I remouved the ExecStart line.

Before:  
ExecStart=/usr/share/kibana/bin/kibana --logging.dest="/var/log/kibana/kibana.log" --pid.file="/run/kibana/kibana.pid" --deprecation.skip\_deprecated\_settings[0]="logging.dest"

After:  
ExecStart=/usr/share/kibana/bin/kibana --pid.file="/run/kibana/kibana.pid" --deprecation.skip\_deprecated\_settings[0]="logging.dest"

Nothing seems to work.

Can someone help me ?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [June 29, 2023, 1:37pm UTC](https://discuss.elastic.co/t/setting-logging-dest-is-deprecated/337100/2 "2023-06-29T13:37:50Z")

</div>

Hi @GuillaumeBA,

Welcome to the community! Can you explain what you mean by it doesn't work and if there are any errors appearing for this configuration?

> [@GuillaumeBA](#):
>
> After:  
> ExecStart=/usr/share/kibana/bin/kibana --pid.file="/run/kibana/kibana.pid" --deprecation.skip\_deprecated\_settings[0]="logging.dest"

I'm not sure this is the issue, but if you have resolved the `logging.dest` deprecation do you need the skip setting anymore?

---

<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:** [July 27, 2023, 1:38pm UTC](https://discuss.elastic.co/t/setting-logging-dest-is-deprecated/337100/3 "2023-07-27T13:38:25Z")

</div>

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