hrm... I do not think the $hosts variable is bad. You use it to give your existing domain hierarchy an error log in that folder for that domain. This is what I have for the access_log. Without the working $host in the error_log I would have to separately write each domain again to put it in it's subfolder. Not very productive.