[SERVER-16835] How to remove log file Created: 14/Jan/15 Updated: 14/Jan/15 Resolved: 14/Jan/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Dinh Hong Ngoc | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
My web application is using mongodb, the data is big. Every after 3/4 days, the log file of mongo take 70% disk space of /var/ directory, I have to shutdown mongodb then delete that log file, after that start mongodb again. |
| Comments |
| Comment by Ramon Fernandez Marina [ 14/Jan/15 ] |
|
ngoc.dinh, take a look at how to rotate log files, hopefully that will meet your needs. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. Regards, |