Skip to content

Can i log couchdb logs into Database or any other place of my choice #3316

Answered by jjrodrig
ghnash asked this question in Q&A
Discussion options

You must be logged in to vote

You can check the logging options here https://docs.couchdb.org/en/stable/config/logging.html

CouchDB supports the following log writers:

  • stderr: Logs are sent to stderr.
  • file: Logs are sent to the file set in log file.
  • syslog: Logs are sent to the syslog daemon.
  • journald: Logs are sent to stderr without timestamp and log levels compatible with sd-daemon.

You can change the log file by setting the file param in your local config file.

[log]
file = /var/log/couchdb/couch.log

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ghnash
Comment options

@jjrodrig
Comment options

@ghnash
Comment options

Answer selected by kocolosk
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