Daft icon indicating copy to clipboard operation
Daft copied to clipboard

UDF concurrency > 1 suppresses logs output

Open ion-elgreco opened this issue 2 months ago • 5 comments

Describe the bug

When you use UDFs with concurrency, it suppresses the logs that are emitted from the processes. If I use 1 concurrency docling udf, I can beter follow which document is parsed.

To Reproduce

No response

Expected behavior

No response

Component(s)

Expressions

Additional context

No response

ion-elgreco avatar Sep 11 '25 12:09 ion-elgreco

I believe @srilman has been working logging for udfs. @srilman could you take a look into this?

universalmind303 avatar Sep 11 '25 14:09 universalmind303

Are you using the Ray runner or the native runner? Also, are you looking for Python logs or stdout / stderr? If the former, I believe we recently pushed a fix for this: https://github.com/Eventual-Inc/Daft/pull/5168

srilman avatar Sep 11 '25 17:09 srilman

Are you using the Ray runner or the native runner? Also, are you looking for Python logs or stdout / stderr? If the former, I believe we recently pushed a fix for this: https://github.com/Eventual-Inc/Daft/pull/5168

Native runner now, but happens with both.

Docling is logging lots of things to a python logger, so in stdout/stderr indeed

ion-elgreco avatar Sep 11 '25 18:09 ion-elgreco

@ion-elgreco Are you still seeing this issue on the latest version of Daft with the merge fixed?

srilman avatar Sep 30 '25 16:09 srilman

@srilman which version was it introduced? The last time I checked it was still the case

ion-elgreco avatar Oct 01 '25 08:10 ion-elgreco