Skip to content

Understanding CouchDB logs #3902

Answered by nickva
gboer asked this question in Q&A
Jan 17, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Good question @gboer I don't know if we had documented it anywhere.

Most of your guesses are correct.

The first 5 parameters are generated in couch_log. The rest are from the http request handling section in chttpd :

  1. Log level
  2. Timestamp
  3. Erlang node name where this entry was generated. For single node without erlang distribution enabled it would be nonode@nohost. If you have a cluster setup it might be [email protected] for example
  4. Erlang process ID which generated the log entry.
  5. A randomly generated request ID / nonce which can be used to track requests or failures across a load balancer. It gets returned as the "X-Couch-Request-ID" response header.
  6. Request header Host: value
  7. Clie…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gboer
Comment options

Answer selected by gboer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants