Unordered log severity

Before I file the issue into github, can anyone check for me an order of logging severity levels in HA 2021.10 (I’m using v2021.9.7).

Here is how it looks in Service tab:

Even official docs mentions proper order

Possible log severity levels, listed in order from most severe to least severe, are:

critical
fatal
error
warning
warn
info
debug
notset

It is because it is listed alphabetically in UI. Probably because it is formatted somewhere in the code or with a linter. Though i agree with you that it should be listed in the same order. :smiley:

It’s sorted alphabetically using what language? c-f->e? e-w->i ??
:smiley:

Just saw it :rofl:

Well if you ignore debug it is :laughing:

And I was/am referring to the dropdown

yeah you are right, my fault.
seems that currently selected mode is always on the top, then the rest is alphabetically ordered.

1 Like