Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Logging & Log rotation

4 replies [Last post]
  • Login or register to post comments
Tue, 10/09/2012 - 02:28
geosword
Offline
Joined: 10/09/2012
Groups: None

Hi Everyone,
I have a couchbase 1.8 cluster, and Im looking at /opt/couchbase/var/lib/couchbase/logs and seeing what appear to be rotated log files.

I was wonder where (if anywhere) I can configure the log rotation / how many are kept. I've check /etc/logrotate.d and there is no couchbase definition in there.

Basically Im trying to make sure the logs dont fill up my hard disk!

There doesnt seem to be anything in the web config, nor can I find any mention of it in the manual or anywhere else in the forum.

Thanks In advance

Dylan

Top
  • Login or register to post comments
Wed, 10/10/2012 - 00:37
soroushatarod
Offline
Joined: 09/27/2012
Groups: None

logs fills aren't that big, don't you think by limiting a log file size , the chances of not logging everything decreases?

Top
  • Login or register to post comments
Wed, 10/10/2012 - 00:58
geosword
Offline
Joined: 10/09/2012
Groups: None

No, It sounds like you are misunderstanding the concept of log rotation. Log rotation doesn't always mean getting rid of log files, or limiting the amount that is logged. It just means that the oldest log files are compressed & potentially stored elsewhere. This stops log files from filling up your hard disk.

Never mind, Ill use logrotate.d.

Thanks
D

Top
  • Login or register to post comments
Wed, 10/10/2012 - 01:15
soroushatarod
Offline
Joined: 09/27/2012
Groups: None

Thanks for the info :)

Top
  • Login or register to post comments
Mon, 10/15/2012 - 09:58
Neo-matrix
Offline
Joined: 10/15/2012
Groups: None

Hi Dylan,
You are absolutely correct and hope this below link will help you.

http://www.thegeekstuff.com/2010/07/logrotate-examples/

Thanks,
Neo-matrix

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker