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 d96763f34d..e151bc3b7e 100644
--- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig
+++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig
@@ -110,6 +110,8 @@
{% macro display_message(log_index, log, is_deprecation) %}
+ {{ is_deprecation ? 'DEPRECATED' : log.priorityName }} - {{ log.message }}
+
{% if is_deprecation %}
{% set stack = log.context.stack|default([]) %}
{% set id = 'sf-call-stack-' ~ log_index %}
@@ -142,7 +144,6 @@
{% endif %}
{% endfor %}
{% else %}
- {{ log.priorityName }} - {{ log.message }}
{% if log.context is defined and log.context is not empty %}