I have created a uwsgi ini for my flask application like so (this is just the snippet that is important for this question):
logto2 = %(base)/logs/test.log log