New in Symfony 5.4: Redesigned Profiler Logs

Contributed by Javier Eguiluz in #42195.

The logs section is one of the key features of the Symfony profiler. It shows you not only the debug/info and error logs but also all the deprecations triggered by your application. In current Symfony versions it looks like this:

It also provides some rudimentary filters to only show logs of certain type or level:

In Symfony 5.4 we've redesigned this log section entirely. First, the contents of each log message (which include the timestamp, the log channel(s), etc.) have been rearranged to make them easier to understand, especially when you scan a long list of log messages:

We've also redesigned the filters so you can find the relevant messages faster. The "filter by type" comes in handy to focus on errors and deprecations first:

The other filters provide a "filter by type" and "filter by level" feature which is more advanced and faster than the existing filters:

We've made other tweaks and improvements, such as hiding by default the container compilation logs, which usually are not relevant on your day to day work.

                Sponsor the Symfony project.

https://symfony.com/blog/new-in-symfony-5-4-redesigned-profiler-logs?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

Created 4y | Nov 17, 2021, 8:20:06 AM


Login to add comment

Other posts in this group

New in Symfony 7.3: New Bridges and Improved Integrations

Symfony's bridge packages integrate third-party services, such as mailers, notifiers, and translation providers, into Symfony applications. With more than 120 bridges available today, Symfony supports

May 23, 2025, 9:30:04 AM | Symfony
New in Symfony 7.3: Messenger Improvements

Symfony Messenger component keeps evolving to meet the needs of complex, modern applications. In Symfony 7.3, we're introducing several powerful features to it.

Run Process Using the Shell… https://s

May 22, 2025, 7:50:11 AM | Symfony
New in Symfony 7.3: Routing Improvements

The Routing component provides an impressive list of features to map incoming URLs to your application code. Symfony 7.3 pushes it even further with a set of new features that improve developer experi

May 21, 2025, 11:10:07 AM | Symfony
New in Symfony 7.3: JsonStreamer Component

Contributed by Mathias Arlaud in

May 20, 2025, 9:30:13 AM | Symfony
Symfony UX CVE-2025-47946: Unsanitized HTML attribute injection via ComponentAttributes

Affected versions

Symfony UX symfony/ux-live-component and symfony/ux-twig-component versions <2.25.1 are affected by this security issue.

The issue has been fixed in the 2.25.1 version of these

May 19, 2025, 12:40:14 PM | Symfony
New in Symfony 7.3: Yaml Improvements

Symfony has been reducing the need for configuration in applications for several years now. Thanks to PHP attributes, you can now configure most things alongside the relevant code, removing the need f

May 19, 2025, 8:10:09 AM | Symfony
A Week of Symfony #959 (May 12–18, 2025)

This week, development activity focused on polishing Symfony 7.3 ahead of its final release in two weeks. We also continued publishing articles highlighting the new features of Symfony 7.3 and shared

May 18, 2025, 8:50:08 AM | Symfony