1👍
Maybe this might help you.
sudo chown www:data filename
The files created might have the property root:root because you execute this logfile tool with root privileges. If nothing helps, you might write a script that watches the new logs created and change the properties of it.
Source:stackexchange.com