Pugz
Pugz

Reputation: 1029

CouchDB log file RIDICULOUSLY HUGE

I've had CouchDB running for 5 days with minimal use. The couch.log file in var/log/couchdb/couch.log is 42GB and filled up my disk. How can I make this moron of a database truncate the log file? Note that this is NOT the transaction journal... it appears to be an access log.

Upvotes: 1

Views: 2611

Answers (2)

SourceCodeBot
SourceCodeBot

Reputation: 175

like Kxepal already said before, couchdb wrote in there repo also to use logrotate https://github.com/apache/couchdb/issues/1284

Upvotes: 0

Kxepal
Kxepal

Reputation: 4679

  1. Install logrotate. CouchDB ships with the predefined config for it.

  2. If you'll provide some part of this log file that would be more helpful to answer "why so".

Upvotes: 1

Related Questions