If possible try to run the cronjobs with the same user as the website (in your situation www-data)
Else you need to check the group access on the log files and put the users in the same group.
The last resort is to set the permissions wide open ( chmod 0777) but that is not preferable.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us