Re: Re: Possible problem in PEAR Log
| From: | Pierre-Alain Joye | Date: | Wed, 03 Jul 2002 13:40:43 +0000 |
| Subject: | Re: Re: Possible problem in PEAR Log | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7453@lists.php.net to get a copy of this message | ||
On Wed, 03 Jul 2002 14:36:37 +0100
Michael Dransfield <mike@blueroot.net> wrote:
> I am also using win2000, LOG_INFO does equal 6 but so does LOG_DEBUG which
> overwrites it
>
> LOG_NOTICE == LOG_INFO == LOG_DEBUG
>
> You can see the bug report here
>
> http://bugs.php.net/bug.php?id=18090
LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR => EVENTLOG_ERROR_TYPE
LOG_WARNING => EVENTLOG_WARNING_TYPE
LOG_NOTICE, LOG_INFO, LOG_DEBUG => EVENTLOG_INFORMATION_TYPE
As it s reported by Tom in the report. These constants are defined by php from the OS system values.
The relations give you the equivalent. The problem is win32 (NT/2K/ ?XP?) use less log priorities
levels than posix compliant systems.
We cannot invent levels as far as the system does not manage them.
hth
pa