Logging severity levels

  1. cis7 includes/bootstrap.inc logging_severity_levels
  2. cle7 includes/bootstrap.inc logging_severity_levels
  3. elmsmedia7 includes/bootstrap.inc logging_severity_levels
  4. icor7 includes/bootstrap.inc logging_severity_levels
  5. meedjum_blog7 includes/bootstrap.inc logging_severity_levels
  6. mooc7 includes/bootstrap.inc logging_severity_levels

Logging severity levels as defined in RFC 3164.

The WATCHDOG_* constant definitions correspond to the logging severity levels defined in RFC 3164, section 4.1.1. PHP supplies predefined LOG_* constants for use in the syslog() function, but their values on Windows builds do not correspond to RFC 3164. The associated PHP bug report was closed with the comment, "And it's also not a bug, as Windows just have less log levels," and "So the behavior you're seeing is perfectly normal."

See also

http://www.faqs.org/rfcs/rfc3164.html

http://bugs.php.net/bug.php?id=18090

http://php.net/manual/function.syslog.php

http://php.net/manual/network.constants.php

watchdog()

watchdog_severity_levels()

Functions

Namesort descending Location Description
dblog_overview modules/dblog/dblog.admin.inc Page callback: Displays a listing of database log messages.
drupal_error_levels includes/errors.inc Maps PHP error constants to watchdog severity levels.
watchdog_severity_levels includes/common.inc Returns a list of severity levels, as defined in RFC 3164.

Constants

Namesort descending Location Description
WATCHDOG_ALERT includes/bootstrap.inc Log message severity -- Alert: action must be taken immediately.
WATCHDOG_CRITICAL includes/bootstrap.inc Log message severity -- Critical conditions.
WATCHDOG_DEBUG includes/bootstrap.inc Log message severity -- Debug-level messages.
WATCHDOG_EMERGENCY includes/bootstrap.inc Log message severity -- Emergency: system is unusable.
WATCHDOG_ERROR includes/bootstrap.inc Log message severity -- Error conditions.
WATCHDOG_INFO includes/bootstrap.inc Log message severity -- Informational messages.
WATCHDOG_NOTICE includes/bootstrap.inc Log message severity -- Normal but significant conditions.
WATCHDOG_WARNING includes/bootstrap.inc Log message severity -- Warning conditions.

File

includes/bootstrap.inc, line 55
Functions that need to be loaded on every Drupal request.

Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.