Improve record_log() : use noalyss/log and apache log
This commit is contained in:
parent
59ab697bb7
commit
169820ae43
22 changed files with 35 additions and 34 deletions
|
|
@ -170,7 +170,7 @@ function echo_error($p_log, $p_line="", $p_message="")
|
|||
{
|
||||
$msg="ERREUR :" . $p_log . " " . $p_line . " " . $p_message;
|
||||
echo $msg;
|
||||
syslog(LOG_ERR,$msg);
|
||||
record_log($msg);
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1893,4 +1893,4 @@ function find_idx($array,$key,$value) {
|
|||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue