asterisk / asterisk

The official Asterisk Project repository.
https://www.asterisk.org
Other
1.97k stars 924 forks source link

[improvement]: logger: Add unique verbose prefixes for higher verbose levels #721

Closed InterLinked1 closed 2 weeks ago

InterLinked1 commented 3 weeks ago

Improvement Description

Commit 6871d1cdfc4aba983935126863a15265b9518717 pushed a lot of module-related logging to higher verbose levels, which now makes it impossible to visually differentiate the hierarchy of any of these messages at a quick glance.

To improve this, unique verbose prefixes are now added for all levels, rather than using prefix 4 for levels 4 through 10. This allows for the same visual differentiation as before, as well as in all other cases for messages of different levels.