Add a suffix into log to have its own log file

This commit is contained in:
Laurent Destailleur 2023-03-10 12:57:39 +01:00
parent 4c0c4c53f0
commit f64b0f432d

View File

@ -34,6 +34,11 @@ if (is_numeric($entity)) {
define("DOLENTITY", $entity);
}
// So log file will have a suffix
if (!defined('USESUFFIXINLOG')) {
define('USESUFFIXINLOG', '_stripeipn');
}
// Load Dolibarr environment
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';