Opened 18 years ago

Last modified 16 years ago

#109 assigned enhancement

add a timestamp to the logfiles name

Reported by: d3acon Owned by: Bruno Cornec
Priority: low Milestone: 4.0.2
Component: mondo Version: 2.2.0
Severity: minor Keywords:
Cc: andree@…


It would be nice if you could add a timestamp to the filename of the logfile. So you wouldn't override the previous logfile and bugtracking would be easier.

Change History (9)

comment:1 by Bruno Cornec, 18 years ago

I don't think it's a good idea in itslef, as logs will always grow under
/var/log, and ending by filling up the FS. 

What we could do rather is always appending to the same logfile and
provide a logrotate config file.

comment:2 by Bruno Cornec, 18 years ago

Cc: anfree@… added
Milestone: 2.2.2
Status: newassigned

Andree what do you think of my suggestion ? Would it be possible also in the Debian package ?

comment:3 by Bruno Cornec, 17 years ago


comment:4 by seekgzl, 17 years ago

World Of Warcraftwow goldwow goldgold wow aidscheap hotelhealth servicescoins and edalsbar code ccdskannerz bar codes wireless bar code readerbuy bar codebar code scanning systemsap bar codewhich barcode scanner should i buy? Aristo Halifaxgod of war unlockable videos A Secret Revealeddiscounts furniturewalleye worm harnessgold of war cheatsworld warcraft power levelingwrought iron stair railingsValerie confectionsmore than words lyricsstudy abroadsuperman tattoowow power levelingrod iron wall decorbuy wow gold staircase ironStar Tattoossuperman tribal tattooHuge Bedding & Bath Discounts wow gold contrastiron gate in california for saleiron gate in california for salereally cheap wow goldatlanta wrought iron doorswow europe Powerlevelingcomputer deskscheap wow gold word listedwrought iron stair railingsileusautomatic gateseurope wow goldpowerlevelingcheap gold for wowcheap american gold coinscalifornia gold rush stories hangingsForeign stuffdiscounts furniture Study Abroad in Japan Call Centerconstipation treadmillsupermanspiderman?3cheap car insurance companycheap female car insuranceairline tickets for cheapcheap air tickets to londoncheap hotelscheap hotel majorcacheap hotels in paphoscheap hotel niagaracheap reno hotelscheap hotels palm springscheap hotel romenew york cheap hotelvoip conference phonemedical insuranceprojector lamphair lossdna testingCEREBRAL PALSYforeign languagetattooshearing aidsreally cheap wow golddiabetes951054007呼叫中心蜘蛛人一号通中国

comment:5 by Bruno Cornec, 17 years ago

Cc: andree@… added; anfree@… removed

Andree, does that feature also exist in Debian ?

comment:6 by Bruno Cornec, 17 years ago


comment:7 by Bruno Cornec, 17 years ago

Hi Bruno,

Your idea to use logrotate sounds good to me.

Only thing is that maybe mindi and mondoarchive should do their own log rotation because we can't predict when they run. But they could just call logrotate to do the job I suppose.

Cheers, Andree

[Sorry Andree, no mail reply avilable anymore due to spam :-(]

That was my question. Is logrotate generally used on Debian ? As it is on the RPM based distro I use, I think that if the answer is yes, we can use that mecanism to provide that feature. My idea was to add a conf file under /etc/logrotate.d for mondo (mindi doesn't really need it anymore as its log is now part of mondo's log)

comment:8 by Bruno Cornec, 17 years ago

Note: See TracTickets for help on using tickets.