how can i put all eror in same log file

#1
[eluser]Zeeshan Rasool[/eluser]
Hi, guys there is a little prob. Here , i have a code that generates error log file

Code:
$dbRet=$this->db->insert('hfelp_video');
             if (!$dbRet) {
             $errNo   = $this->db->_error_number();
                $errMess = $this->db->_error_message();

            log_message("error", "Problem Inserting to".$errMess." (".$errNo.")");

but, it generates new file daily with current date file name i-e

log-2008-06-30.php , log-2008-07-01.php etc

how can i put all eror in same log file

thnx in adv.


Messages In This Thread
how can i put all eror in same log file - by El Forum - 06-30-2008, 09:45 PM
how can i put all eror in same log file - by El Forum - 07-01-2008, 03:01 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.