最后得到解决思路:既然mv uwsgi.log文件后,uwsgi还是会自动找到mv后的文件 ... new_file = os.path.join(base_path, 'uwsgi.log_{}'.format(today)) ...
確定! 回上一頁