pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

Replace print statements with logging records

Open ricardoV94 opened this issue 10 months ago • 2 comments

Description

https://github.com/pymc-devs/pytensor/pull/1193 showed many print statements that are likely better as log records. We should change them, but they have to be reviewed on a per basis

ricardoV94 avatar Feb 05 '25 16:02 ricardoV94

can i work on this?

hrigar avatar Feb 10 '25 22:02 hrigar

@ricardoV94 the current pytensor_logger level is set to WARNING, so info logs wont be captured, since many of the print statements maps to info logs ,should we change the logger level to info, or use a different approach to handle these cases?

hrigar avatar Feb 11 '25 16:02 hrigar