Create folders recursively and set its mode

Do the modeset in the same function when creating folders
Create the logs folder under a site folder

This way the different sites get a different logs location