Template:Error logging conf settings english

From MapbenderWiki

Jump to: navigation, search
# --------------------------------------------
# Mapbender error logging
# --------------------------------------------

define("LOG_LEVEL_LIST", "off,error,warning,notice,all");
define("LOG_LEVEL", "all");
define("LOG_JS", "on"); // "on", "alert", "console", "off"
  • LOG_LEVEL_LIST: list of available log levels.
  • LOG_LEVEL: a single entry of LOG_LEVEL_LIST:
    • off: no logging.
    • error: only errors will be logged.
    • warning: only errors and warnings will be logged.
    • notice: errors and warnings and notices will be logged.
    • all: everything will be logged (at the moment equal to the setting "notice").
  • LOG_JS: Sets the handling of JS exceptions: The log entries will be
    • on: written in a log file (just like in PHP).
    • alert: alerted in the browser. Useful for debugging with Internet Explorer.
    • console: displayed in the Firebug console. Useful when debugging with Firefox.
    • off: pulverised.
Personal tools