Is there any way to get memcached's log
Wed, 02/15/2012 - 23:08
Couchbase start a memcached process, we want to get log of memcached, but we don't find any possible way to get this log.
We found a folder named "extension/loggers" in the source of memcached, and it contains three files "blackhole_logger.c eventlog_logger.c syslog_logger.c", but it seems like memcached logging everything to stdout, can we redirect stdout to a file? or it there any possible way to get memcached's log?
We put logging information from memcached into our erlang logs. Unfortunately we don't allow you to change the logging level and we also truncate log messages from memcached. Looking at these logs for memcached messages is also not easy. As a developer who works on memcached this can be a major pain for me when testing. We are working to improve the logs right now and hopefully will have better ways to read logs in a future release of Couchbase.