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

Creată 4y | 17 nov. 2021, 08:20:06


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

A Week of Symfony #967 (July 7–13, 2025)

This week, Symfony unveiled the Symfony AI initiative, a set of components and bundles designed to bring powerful AI capabilities directly into your PHP applications. In addition, we published travel

13 iul. 2025, 09:20:11 | Symfony
Kicking off the Symfony AI Initiative

Today we are happy to announce a new Symfony initiative called Symfony AI - with the goal to provide a comprehensive set of components and bundles designed to bring powerful AI capabilities directly i

11 iul. 2025, 13:20:27 | Symfony
SymfonyCon Amsterdam 2025: Travel & Lodging Tips

SymfonyCon Amsterdam 2025, our next annual international Symfony conference, will take place on:

November 25 & 26: 2 workshops days with several topics to learn, practice and improve your skills

11 iul. 2025, 08:40:20 | Symfony
A Week of Symfony #966 (June 30 – July 6, 2025)

This week, development on the upcoming Symfony 8.0 version continued with the removal of deprecated features and the marking of several classes as final. In addition, we published two new case studies

6 iul. 2025, 08:10:15 | Symfony
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 iul. 2025, 09: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 iul. 2025, 09: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 iun. 2025, 09:10:15 | Symfony