[DOCS-1315] Document log rotation strategies Created: 01/Apr/13  Updated: 30/Oct/23  Resolved: 06/Sep/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Stennie Steneker (Inactive) Assignee: Zack Brown
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-8909 MongoDB- Customzieable log size and g... Closed
Participants:
Days since reply: 10 years, 24 weeks, 1 day ago

 Description   

It would be helpful to have documentation or tutorial for setting up log rotation.

Suggested approaches:

  • use the logrotate daemon in conjuction with MongoDB's logRotate command
  • for MongoDB 2.2 or newer, you can use --syslog to redirect output to the syslog daemon (most modern syslogd's will support log rotation recipes, or you can use with logrotate)


 Comments   
Comment by auto [ 03/Sep/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1315: edits
Branch: master
https://github.com/mongodb/docs/commit/ae65795c6d832a9fdb8d4d01ef21559010946746

Comment by auto [ 03/Sep/13 ]

Author:

{u'username': u'Zackrobat', u'name': u'Zack Brown', u'email': u'zack.brown@10gen.com'}

Message: DOCS-1315: Document log rotation strategies

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/0948f70e1d6e77cce73c68a07186178dff413a80

Generated at Thu Feb 08 07:40:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.