Hello @pino74, Welcome!
First, try using /data/shared/file.log or the full path, If that doesn’t work then:
Try setting only one path here, I remember it being buggy when multiple paths were set.
So set the variable to just:
N8N_RESTRICT_FILE_ACCESS_TO=/backup
Then try writing the file to /backup/file.log