Feature Requests

10 views
Skip to first unread message

amolpatil2k

unread,
Sep 21, 2010, 4:15:55 PM9/21/10
to Shelve Firefox Add-on
I had posted the following feature request on AMO

The log file can get unusually large so it should be possible to set a
limit, say 500 after which a new subfolder is created for the files
and a new log file is created within that subfolder.

And lithom had replied

The field "log filename" is actually a template, i.e. you can use
place holders to create log files per year/month.

But my point was that even a single day's log can become unwieldly.
Wouldn't it be more elegant to use a numeric cut off?

lith

unread,
Sep 21, 2010, 5:16:55 PM9/21/10
to Shelve Firefox Add-on
Hi,

> But my point was that even a single day's log can become unwieldly.
> Wouldn't it be more elegant to use a numeric cut off?

May I ask how many MB are your one day log files big?

Frankly, this looks like a special case feature request. And I'm not
convinced that log rotation handled by shelve is the proper solution.
Maybe a better solution would be to use some logrotate-like utility
(from a cron job) that moves the file to some archive and maybe
compresses it once it gets too big.

Regards,
Tom
Reply all
Reply to author
Forward
0 new messages