ID:          39812
 Updated by:  [EMAIL PROTECTED]
 Reported By: wv at xs2mail dot com
-Status:      Open
+Status:      Bogus
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

LOG_EMERG has highest priority, LOG_DEBUG has lowest priority - the
table really is in descending orded.


Previous Comments:
------------------------------------------------------------------------

[2006-12-13 10:24:03] wv at xs2mail dot com

Description:
------------
Table 1 in the documentation on the "syslog" function says "syslog()
Priorities (in descending order)". The table starts with LOG_EMERG,
which is defined as 0 (zero).

As is always the case with priority lists, one is easily misunderstood.
If A has a higher priority than B, it means in this case A < B.

Suggested solution:
1) Place the values of the constants in the table explicitly.
2) or put an example in that shows how to compare priorities.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39812&edit=1

Reply via email to