Skip to content

Commit c14c83d

Browse files
debug: add logfire token debug logging
1 parent ae649f1 commit c14c83d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/policyengine_api/agent_sandbox.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ def configure_logfire(traceparent: str | None = None):
2626

2727
token = os.environ.get("LOGFIRE_TOKEN", "")
2828
if not token:
29+
print("[LOGFIRE] No LOGFIRE_TOKEN found, skipping configuration")
2930
return
31+
print(f"[LOGFIRE] Configuring with token prefix: {token[:10]}...")
3032

3133
logfire.configure(
3234
service_name="policyengine-agent",

0 commit comments

Comments
 (0)