Re: Re: Possible problem in PEAR Log

From: Date: Wed, 03 Jul 2002 10:43:31 +0000
Subject: Re: Re: Possible problem in PEAR Log
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7448@lists.php.net to get a copy of this message
On Wed, 03 Jul 2002 11:34:53 +0100 Michael Dransfield <mike@blueroot.net> wrote: > It breaks because when you put > > $l = new Log_file('logs/user_login.log', 'USER LOGIN'); > $l->log("$user_name FROM ".$_SERVER['REMOTE_ADDR'], LOG_INFO); > $l->close(); > > enters this in the logs > > Jul 02 13:47:44 USER LOGIN [debug] ............ > ^^^^^^^^ NOT INFO Possible values for the Log_file::log() 2nd param (priority) are : * values are: LOG_EMERG, LOG_ALERT, LOG_CRIT, * LOG_ERR, LOG_WARNING, LOG_NOTICE, LOG_INFO, and * LOG_DEBUG. The default is LOG_INFO hth pa

« previous php.pear.dev (#7448) next »