logging level order is not aligned order |
On the user guide, logging level is matching to the RFC 5424 levels.
These variety is matched, but these order is not matched. on CI4: Code: | 0 = Disables logging, Error logging TURNED OFF on RFC 5424: Code: Numerical Severity "debug" level is in the middle on CI4, lowest on RCF 5424. Why don't you adjust the order?
This was done as a nod to previous versions of CI where you could say, "log this error or other errors more critical" by specifying a threshold value.
We should probably remove the link to the RFC, honestly, since it's simply an implementation of PSR3, which doesn't specify any requirement for the numerical value used, nor does it specify that you should use the RFC's values. It simply references the levels. The only reason that was put in our docs was to provide a resource with more information about when the different levels should be considered useful.
on CI3:
Code: | 0 = Disables logging, Error logging TURNED OFF Oh... I understand. Debug level is in the middle. And PSR3 doesn't declare the order of log levels explicitly. Perhaps I should agree to remove the link to the RFC, but, it is confusing whether the link is removed or not. The 8 levels remind me of RFC 5424. |
Welcome Guest, Not a member yet? Register Sign In |