Reputation: 1029
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
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
Reputation: 4679
Install logrotate. CouchDB ships with the predefined config for it.
If you'll provide some part of this log file that would be more helpful to answer "why so".
Upvotes: 1