Improve record_log() : use noalyss/log and apache log

This commit is contained in:
sparkyx 2025-10-24 11:51:25 +02:00
parent 59ab697bb7
commit 169820ae43
22 changed files with 35 additions and 34 deletions

View file

@ -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;
}
}