Log to user home directory if user is in ACL

* Log to user home directory if user is in ACL and is unable to write to logs directory. Fixes #7706.