Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 2.0
Community Wiki and Resources
Download Couchbase Server 2.0
Couchbase Developer Guide 2.0
Client Libraries
Couchbase Server Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
11 Troubleshooting
Chapter Sections
Chapters

11.3. Logs and Logging

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”.

Table 11.2. Log File Locations

PlatformLocation
Linux/opt/couchbase/var/lib/couchbase/logs
WindowsC:\Program Files\Couchbase\Server\log [a]
Mac OS X~/Library/Logs

[a] Assumes default installation location


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

FileLog Contents
couchdbErrors relating to the couchdb subsystem that supports views, indexes and related REST API issues
debugDebug level error messages related to the core server management subsystem, excluding information included in the couchdb, xdcr and stats logs.
infoInformation level error messages related to the core server management subsystem, excluding information included in the couchdb, xdcr and stats logs.
errorError level messages for all subsystems excluding xdcr.
xcdr_errorXDCR error messages.
xdcrXSCR information messages.
mapreduce_errorsJavaScript and other view-processing errors are reported in this file.
viewsErrors relating to the integration between the view system and the core server subsystem.
statsContains periodic reports of the core statistics.
memcached.logContains information relating to the core memcache component, including vBucket and replica and rebalance data streams requests.

Note

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.