Careers

Docker flask files ?

  • Last Updated:
  • Jun 13th, 2021 2:20 pm
Tags:
[OP]
Deal Addict
User avatar
Aug 11, 2003
1640 posts
193 upvotes
C-53

Docker flask files ?

Anyone know how to rollover docker flask log files?

Right now, my flask has been running since February and the log is exceeding 5GB.

I want to set a policy where it will automatically cut off at X MB and then roll into a new log file. I'd like to keep the old log file also in case of debugging or whatever.

How can I do this?
Please thank me if you find this helpful
Top