Project

General

Profile

Actions

Task #248

closed

No mongodb server rotates its logs

Added by Andrea Dell'Amico almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
System Application
Target version:
Start date:
Jun 11, 2015
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

All the mongodb instances never rotate their log files. The production cluster log files are over 1GB on every node.

Actions #1

Updated by Roberto Cirillo almost 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Roberto Cirillo

I've enabled the log rotation on all the instances in this way:

From the mongo shell, issue the logRotate command from the admin database:

use admin
db.runCommand( { logRotate : 1 } )
Actions #2

Updated by Roberto Cirillo almost 10 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)