LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-01-2020, 06:24 AM   #1
maly1990
LQ Newbie
 
Registered: Apr 2020
Posts: 3

Rep: Reputation: Disabled
Logrotate ubuntu mongo


Hello

I have problem with logrotate because parameter rotate not working

config logrotate below:
/var/log/mongodb/* {
daily
missingok
notifempty
rotate 10
nocreate
}

and if I execute command: sudo logrotate -fv /etc/logrotate.d/mongodb, in path is above configuration logrotate

After execute command, logrotate created new file with log mongo but in file is all such as without rotate

why it works like that?
 
Old 06-01-2020, 09:27 AM   #2
bazio101
Member
 
Registered: Feb 2020
Location: Greece
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
Logrotate ubuntu mongo

Is this related?:
https://www.linuxquestions.org/questions/linux-newbie-8/logrotate-question-4175674712/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mongo data base configuration linuxmantra Linux - Newbie 3 05-12-2014 08:28 AM
[SOLVED] Where can I find free "Super Mongo" for my Ubuntu? msbstar Linux - Newbie 3 03-29-2011 11:29 AM
icewm and mongo on Jornada 720 locks up when attempting to free up 72k memory mugglemage Linux - Laptop and Netbook 8 05-06-2008 09:59 PM
LXer: One small step onto planet Mongo LXer Syndicated Linux News 0 05-10-2007 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration