Kevin, The short answer is that different operating systems have their own systems for managing log files.
The slightly longer answer is that the CouchDB source distribution comes with an example logrotate daemon configuration file. If you're using an Ubuntu/Debian server, you could do much worse than just copying the example file to /etc/logrotate.d/couchdb and perhaps tweaking from there. Cheers, Zach On Thu, Jan 5, 2012 at 12:42 PM, Kevin R. Coombes <[email protected]> wrote: > Hi, > > In response to a separate thread about replication, Dave Cottlehuber asked > to see the log file from a remote CouchDB from which I was trying to > replicate. I then sent a request to the person managing that machine. In > return, I received a text file that was about 500 MB. That's rather a long > file to search through, and my text editor did not fare well. (I wrote a > perl script to loop through and find the part of the log from the day I > needed; that's not my question for today.) > > My question is: how do people manage these log files? Do you have some > automated procedure for splitting pieces off to archive them for a while? > Does couch provide admin tools to help with this? Or do you just let the > logs grow to gargantuan sizes? > > Kevin
