Hey everyone, I'm having a bit of a problem, I'm u...
# data-tricks-and-tips
r
Hey everyone, I'm having a bit of a problem, I'm using python logging library to export txt files with the run output for my function. Since I'm using cron scheduler I need to run the py file in windows task scheduler so the file always runs. Since it always runs the txt logging file still gets additional outputs since the flow never stops (I want txt file to represent a flow). I looked for quite a while for solutions to export the prefect flow output to separate txt for each run. I couldn't find the solution in the documentations, would very much appreciate the help! using prefect 1.0 - locally on windows server 2016 (using the prefect server is not an option currently).
a
to log to a file, check out this example from Kevin https://github.com/PrefectHQ/prefect/issues/3662