Debug: Ændret logging level for kontakt linking fejl (debug → info)

This commit is contained in:
Christian 2025-12-22 14:25:41 +01:00
parent ddcf64ae78
commit 6398a7ca5f

View File

@ -307,7 +307,11 @@ async def sync_vtiger_contacts() -> Dict[str, Any]:
linked_count += 1
logger.info(f"🔗 Linket kontakt {first_name} {last_name} til firma: {customer_name}")
else:
logger.debug(f"⚠️ Kunde ikke fundet for account_id={account_id} (kontakt: {first_name} {last_name})")
logger.info(f"⚠️ Kunde ikke fundet for account_id={account_id} (kontakt: {first_name} {last_name})")
elif account_id:
logger.info(f"⚠️ Ingen contact_id for {first_name} {last_name} (account_id={account_id})")
else:
logger.debug(f"⏭️ Ingen account_id for kontakt {first_name} {last_name}")
logger.info(f"✅ vTiger kontakt sync fuldført: {created_count} oprettet, {updated_count} opdateret, {linked_count} linket, {skipped_count} sprunget over af {len(contacts)} totalt")