Try using just the owner if no group.
sudo chown -R user: /usr/local/var/log/couchdb
illegal group name actually means that the group you're specifying (the couchdb after the colon -- the first couchdb is the user) doesn't exist. You need to either create the group, stop specifying a group, or specify a group that exists.
illegal group name
couchdb