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.

Symfony Blog
Read More

Latest News


PHP 8.1.20 released!

Generated by Feedzy