diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig index 829dfe17873fc..d6a707ba9667b 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig @@ -53,6 +53,7 @@ {% else %} {# sort collected logs in groups #} {% set deprecation_logs, debug_logs, info_and_error_logs, silenced_logs = [], [], [], [] %} + {% set has_error_logs = false %} {% for log in collector.logs %} {% if log.scream is defined and not log.scream %} {% set deprecation_logs = deprecation_logs|merge([log]) %} @@ -62,11 +63,14 @@ {% set debug_logs = debug_logs|merge([log]) %} {% else %} {% set info_and_error_logs = info_and_error_logs|merge([log]) %} + {% if log.priorityName != 'INFO' %} + {% set has_error_logs = true %} + {% endif %} {% endif %} {% endfor %}
-
+

Info. & Errors {{ collector.counterrors ?: info_and_error_logs|length }}

Informational and error log messages generated during the execution of the application.

@@ -81,7 +85,7 @@
-
+
{# 'deprecation_logs|length' is not used because deprecations are now grouped and the group count doesn't match the message count #}

Deprecations {{ collector.countdeprecations|default(0) }}

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy