Browse Source

Mudar o nome do log agentestr para padronizar os logs PABX

1.9
bruno 1 year ago
parent
commit
f1bdafaa33
  1. 2
      agente/funcoesAgente.php

2
agente/funcoesAgente.php

@ -457,7 +457,7 @@ function RegistraLogAgente($metodo, $msg, $ex = null) {
$log[] = sprintf("MsgSys: %s", GetErrorLast('', 1));
}
$log[] = "****************************** FIM ****************************/";
$file = sprintf("agentesrt%s_%s.log", ($matricula ? "_{$matricula}_" : ""), Date("Ym"));
$file = sprintf("agentesrt_%s.log", ($matricula ? "$matricula" : "null"));
RegistraLog($log, $file);
}

Loading…
Cancel
Save