<p dir="auto">A clear and concise description of what the bug is.</p>
<h4 dir="auto">How to reproduce the bug</h4>
<p dir="auto">set a <code class="notranslate">LOG_FORMAT</code> , e.g. <code class="notranslate">'{"severity":"%(levelname)s","message":"%(message)s","timestamp":"%(asctime)s"}'</code></p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">all logs respect it</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">some log messages get logged duplicated, once with and once w/o the format</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Serving from cache                                                                                                                                                                                 │
{&quot;severity&quot;:&quot;INFO&quot;,&quot;message&quot;:&quot;Serving from cache&quot;,&quot;timestamp&quot;:&quot;2023-04-28 15:47:30,865&quot;}                                                                                                           
Cache key: 7003a08fde69f54ab83686bded041a57
{&quot;severity&quot;:&quot;INFO&quot;,&quot;message&quot;:&quot;Cache key: 7003a08fde69f54ab83686bded041a57&quot;,&quot;timestamp&quot;:&quot;2023-04-28 15:47:30,877&quot;}

The field `timeseries_limit` is deprecated, please use `series_limit` instead.                                                                                                                     
{&quot;severity&quot;:&quot;WARNING&quot;,&quot;message&quot;:&quot;The field `timeseries_limit` is deprecated, please use `series_limit` instead.&quot;,&quot;timestamp&quot;:&quot;2023-04-28 15:48:00,513&quot;}"><pre class="notranslate"><code class="notranslate">Serving from cache                                                                                                                                                                                 │
{"severity":"INFO","message":"Serving from cache","timestamp":"2023-04-28 15:47:30,865"}                                                                                                           
Cache key: 7003a08fde69f54ab83686bded041a57
{"severity":"INFO","message":"Cache key: 7003a08fde69f54ab83686bded041a57","timestamp":"2023-04-28 15:47:30,877"}

The field `timeseries_limit` is deprecated, please use `series_limit` instead.                                                                                                                     
{"severity":"WARNING","message":"The field `timeseries_limit` is deprecated, please use `series_limit` instead.","timestamp":"2023-04-28 15:48:00,513"}
</code></pre></div>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>superset version: <code class="notranslate">2.1</code></li>
</ul>
<h3 dir="auto">Checklist</h3>
<p dir="auto">Make sure to follow these steps before submitting your issue - thank you!</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if there are any.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar.</li>
</ul>
<h3 dir="auto">Additional context</h3>
<p dir="auto">Add any other context about the problem here.</p>
<p dir="auto">Every log message (except event logs) is logged 2 times, once in the custom format set in the "superset_config.py" (or the default one in "config.py" if not set otherwise) and the second time just the message without any context.</p>
<h4 dir="auto">How to reproduce the bug</h4>
<ol dir="auto">
<li>Run apache/superset image locally with docker</li>
<li>Look at logs</li>
</ol>
<h3 dir="auto">Expected results</h3>
<p dir="auto">See every log entry once</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">See every log entry twice</p>
<h3 dir="auto">Logs from docker logs</h3>
<p dir="auto"><code class="notranslate">logging was configured successfully</code><br>
<code class="notranslate">2022-09-29 12:14:17,528:INFO:superset.utils.logging_configurator:logging was configured successfully</code></p>