Skip to content

Commit

Permalink
[fix] duplicated log entry
Browse files Browse the repository at this point in the history
  • Loading branch information
ponsfrilus committed Mar 19, 2024
1 parent d0f2e6f commit 047c30a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions roles/grafana/templates/grafana/conf/grafana.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
{% if dns_suffix == '-test' %}
app_mode = development

[log]
level = debug

{% else %}
app_mode = production

[log]
level = warn

{% endif %}


[server]
protocol = http
domain = {{ frontend.domain }}
Expand Down Expand Up @@ -417,7 +408,11 @@ log_queries =

# Either "debug", "info", "warn", "error", "critical", default is "info"
;level = info
{% if dns_suffix == '-test' %}
level = debug
{% else %}
level = info
{% endif %}

# optional settings to set different levels for specific loggers. Ex filters = sqlstore:debug
;filters =
Expand Down

0 comments on commit 047c30a

Please sign in to comment.