Couchbase Server creates a number of different log files depending on the component of the system that produce the error, and the level and severity of the problem being reported. For a list of the different file locations for each platform, see Table 11.2, “Log File Locations”.
Individual log files are automatically numbered, with the number suffix incremented for each new log, with a maximum of 20 files per log. Individual log file sizes are limited to 10MB by default.
Table 11.3, “Log File Locations” contains a list of the different log files are create in the logging directory and their contents.
Table 11.3. Log File Locations
| File | Log Contents |
|---|---|
couchdb | Errors relating to the couchdb subsystem that supports views, indexes and related REST API issues |
debug | Debug level error messages related to the core server management
subsystem, excluding information included in the
couchdb, xdcr
and stats logs. |
info | Information level error messages related to the core server management
subsystem, excluding information included in the
couchdb, xdcr
and stats logs. |
error | Error level messages for all subsystems excluding
xdcr. |
xcdr_error | XDCR error messages. |
xdcr | XSCR information messages. |
mapreduce_errors | JavaScript and other view-processing errors are reported in this file. |
views | Errors relating to the integration between the view system and the core server subsystem. |
stats | Contains periodic reports of the core statistics. |
memcached.log | Contains information relating to the core memcache component, including vBucket and replica and rebalance data streams requests. |
Each logfile group will also include a .idx
and .siz file which holds meta information
about the logfile group. These files are automatically updated
by the logging system.