[TYPO3-v4] Harmonizing severity levels

Xavier Perseguers typo3 at perseguers.ch
Fri Nov 5 12:51:34 CET 2010


Hi,

> I'd like to have common levels as in Log4j:
>
> TRACE,
> DEBUG,
> INFO,
> WARN,
> ERROR and
> FATAL

Just to say, in conjunction with what Steffen wrote, is that this list 
is logical because each level means less/more messages than previous one 
(TRACE is huge list, DEBUG a bit less, INFO still less, ...) whereas 
what we have with -1 = "OK" and 0 = "debug" and then info, it's not logical.

Warning a "significant problem"? then it's an error, not a warning. We 
should have widely used levels in other programming languages instead of 
taking the levels from PHP.

And I'd like to have a "TRACE" mode because it could be useful when 
debugging some complicated extensions and not being forced to comment 
out/remove all those statements when releasing it.

Cheers
Xavier


More information about the TYPO3-project-v4 mailing list