How to change memcached log directory

I want to store logs from couchbase in an other directory than the default one. So I change {error_logger_mf_dir, option.
It works great for couchbase logs but memcache log are still written to /opt/couchbase/var/lib/couchbase/logs
What dit I missed ?

Thanks

You could try making the entire logs directory a symbolic linkā€¦

On linux:

mv /opt/couchbase/var/lib/couchbase/logs /another/directory
ln -s /opt/couchbase/var/lib/couchbase/logs /another/directory

You may want to shut down couchbase-server while you do this.

Actually that should be:

mv /opt/couchbase/var/lib/couchbase/logs /another/directory
ln -s /another/directory /opt/couchbase/var/lib/couchbase/logs

The link and the directory are switched in my first comment.