Welcome Guest, Not a member yet? Register   Sign In
Logging levels
#8

[eluser]leonbloy[/eluser]
Well, I've been hit by this just now. In every logging system I've known, "DEBUG" level is the most verbose, INFO should definitely come between ERROR and DEBUG

| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages

Compare, for example with Log4J: http://logging.apache.org/log4j/1.2/manual.html

FATAL
ERROR
WARN
INFO
DEBUG
TRACE

The standard strategy is to set level=DEBUG in development, and from ERROR to INFO in production. In particular, I want to turn on INFO messages in production, sort of an informal account of relevant events (not errors), but I cannot do that without including the tons of DEBUG messages that generates the core system. This is unreasonable.


Messages In This Thread
Logging levels - by El Forum - 02-02-2009, 02:16 PM
Logging levels - by El Forum - 02-02-2009, 02:21 PM
Logging levels - by El Forum - 02-02-2009, 02:41 PM
Logging levels - by El Forum - 02-02-2009, 02:48 PM
Logging levels - by El Forum - 02-04-2009, 04:25 AM
Logging levels - by El Forum - 02-04-2009, 05:57 PM
Logging levels - by El Forum - 02-04-2009, 06:45 PM
Logging levels - by El Forum - 04-20-2011, 03:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB