Worthspending Worthspending
2007-Aug-30 14:32 UTC
specify size in kilobytes with logrotate
Has anyone successfully configured logrotate using the size in kilobytes?? I have broken this thing down as far as I can. - I setup a test server - I am running logrotate manually I noticed while running it in debug mode: rotating pattern: "/pathtologs/log/*.log" 1048576 bytes (5 rotations) empty log files are rotated, only log files >= 5120 bytes are rotated, old logs are removed the first line states: 1048576 bytes and the second line states: 5120 bytes The log files are definitely larger than 5k. This has to be a bug. I can absolutely get everything to work if I specify in M (Megabytes), but, not in kilobytes. Anyone with similar experience?? I really want to rotate my web server logs when they reach 500k. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---