Hi everyone! When migrating from Prefect1 to Pref...
# prefect-cloud
s
Hi everyone! When migrating from Prefect1 to Prefect2 I encountered a problem. Basically I call methods in Tasks and in those methods, I log my outputs to local .txt files. When I run the flow with Prefect1 cloud, it works perfectly fine. But when I migrated to Prefect2 cloud, It doesn't write logs to my local .txt files. I tried so many things but none of them worked. Is there any possible solutions? Thanks a lot!
🆘 1
🔴 1
s
I write my jobs log output to txt files not prefect logs
For example: I have some methods in task1.py in those methods I create some logs and I write those logs to a txt.
r
yeah this is any logger.info/error etc
s
As I mentioned I was using Prefect1 and it worked fine until I migrated to Prefect2
r
yup, its not a like for like migration