Installing dolibarr 14.0.4 with php 8.1.1 (deprecated strftime)

Run this command.

patch /var/www/html/core/modules/syslog/mod_syslog_file.php < [patch file name]