I am using prefect workflow for business applications.
I have a question about logs stored in postgresql.
If daily logs are kept stored on the postgresql server, the amount of data will be enormous.
Is there a mechanism to rotate this log and write it to a text file?
Also, is it okay to delete the corresponding record after writing the data from the postgresql table to a text file, etc.?