feat: enable LiveTrackingSpanProcessor when UIPATH_LOG_TO_FILE is set by smflorentino · Pull Request #1518 · UiPath/uipath-python

@smflorentino

@smflorentino @claude

When `log_to_file` is enabled (via `UIPATH_LOG_TO_FILE=true`), also register
the `LiveTrackingSpanProcessor` for span tracing. This ensures the file logging
repro path matches deployed behavior where span upserts run in background threads
alongside the main execution.

Companion PR: UiPath/uipath-runtime-python#103

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>