added logs

This commit is contained in:
CHIEFSOFT\ameye
2025-06-03 20:57:41 -04:00
parent ceb830bf51
commit 08ec032ad2
2 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -246,6 +246,7 @@ class WrenchApi extends BaseController
$in["action"] = 13012; // WRENCHBOARD_JOB_JOBFILES; -- cannot get contsants to work
break;
case 'jobmanagerlist':
log_message('critical', "******************************************* WRENCHBOARD_JOB_LISTJOBS");
$in["action"] = WRENCHBOARD_JOB_LISTJOBS;
break;
case 'jobgrouplist':
@@ -662,8 +663,10 @@ class WrenchApi extends BaseController
{
$out = $local_out;
}
$this->doCacheStep($in, $out);
$cacheOn = false;
if ($cacheOn){
$this->doCacheStep($in, $out);
}
// $final_out = ( new \App\Models\ResultFormatter() )->processOutJson($in, $out);
// $final_out["environment"] = $current_env + 0; // force convert to interger = $this->getSiteConfigurations("system.live");
// $final_out["session_image_server"] = $primary_image_sever; // ( $final_out["environment"] > 0 )? 'https://apigate.nebula.g1.wrenchboard.com/en/wrench/api/v1/getmedia/' : "https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/";