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

Vytvorené 4y | 17. 11. 2021, 8:20:06


Ak chcete pridať komentár, prihláste sa

Ostatné príspevky v tejto skupine

Case study: Modernizing Audi France’s Digital Ecosystem with Symfony 6

At Wide, Micropole’s digital agency, they help leading brands modernize their digital infrastructures while ensuring scalability, security, and performance. When Audi France approached them to migrate

4. 7. 2025, 9:40:14 | Symfony
Case study: A Long-Term Powerhouse Behind Vente-unique.com's E-Commerce Success (Zero Churn, All Wins!)

Vente-unique.com, a leading European online retailer of furniture and home decor, operates in 11 countries, powered by a team of 400 professionals and serving more than 3 million customers. From 15 ye

2. 7. 2025, 9:10:03 | Symfony
A Week of Symfony #965 (June 23–29, 2025)

This week, Symfony 6.4.23, 7.2.8 and 7.3.1 maintenance versions were released. Meanwhile, the upcoming Symfony 7.4 version continued adding new features such as better controller helpers, more precisi

29. 6. 2025, 9:10:15 | Symfony
Symfony 6.4.23 released

Symfony 6.4.23 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in you

28. 6. 2025, 9:50:15 | Symfony
Symfony 7.2.8 released

Symfony 7.2.8 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your

28. 6. 2025, 9:50:15 | Symfony
Symfony 7.3.1 released

Symfony 7.3.1 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your

28. 6. 2025, 9:50:14 | Symfony
A Week of Symfony #964 (June 16–22, 2025)

This week, development activity was intense, with many bug fixes in the maintained branches, numerous deprecation removals in the 8.0 branch, and new features added to the 7.4 branch, including tighte

22. 6. 2025, 8:10:05 | Symfony