Remoe asset logs
MODIFY
src/scheduler/tasks/AssetGetConsumptionTask.ts
src/scheduler/tasks/AssetGetConsumptionTask.ts
@@ -20,13 +20,6 @@ export default class AssetGetConsumptionTask extends SchedulerTask {
async processTenant(tenant: Tenant, config: TaskConfig): Promise<void> {
// Check if Asset component is active
if (!Utils.isTenantComponentActive(tenant, TenantComponents.ASSET)) {
- // Skip execution
- Logging.logDebug({
- tenantID: tenant.id,
- module: MODULE_NAME, method: 'processTenant',
- action: ServerAction.RETRIEVE_ASSET_CONSUMPTION,
- message: 'Asset Inactive for this tenant. The task \'AssetGetConsumptionTask\' is skipped.'
- });
return;
}
const assetLock = await LockingHelper.createAssetRetrieveConsumptionsLock(tenant.id);

Remoe asset logs