Specify current env in logs when skip triggered
MODIFY
src/async-task/TenantAsyncTask.ts
src/async-task/TenantAsyncTask.ts
@@ -47,7 +47,7 @@ export default abstract class TenantAsyncTask extends AbstractAsyncTask {
tenantID: Constants.DEFAULT_TENANT_ID,
action: ServerAction.ASYNC_TASK,
module: MODULE_NAME, method: 'executeAsyncTask',
- message: `The Task '${this.getAsyncTask().name}~${this.getCorrelationID()}' is skipped for Tenant ${Utils.buildTenantName(tenant)}...`
+ message: `The Task '${this.getAsyncTask().name}~${this.getCorrelationID()}' is skipped for Tenant ${Utils.buildTenantName(tenant)}, on environement '${currentTaskEnv}'...`
});
// Ignore execution on this environment
continue;

MODIFY
src/scheduler/TenantSchedulerTask.ts
src/scheduler/TenantSchedulerTask.ts
@@ -47,7 +47,7 @@ export default abstract class TenantSchedulerTask extends SchedulerTask {
tenantID: Constants.DEFAULT_TENANT_ID,
action: ServerAction.SCHEDULER,
module: MODULE_NAME, method: 'processTask',
- message: `The Task '${this.getName()}~${this.getCorrelationID()}' is skipped for Tenant ${Utils.buildTenantName(tenant)}...`
+ message: `The Task '${this.getName()}~${this.getCorrelationID()}' is skipped for Tenant ${Utils.buildTenantName(tenant)}, on environement '${currentTaskEnv}'...`
});
// Ignore execution on this environment
continue;

Specify current env in logs when skip triggered