Opened 11 years ago

Last modified 10 years ago

#109 assigned enhancement

add a timestamp to the logfiles name

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

Description

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 Changed 11 years ago by Bruno Cornec

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 Changed 11 years ago by bruno

  • Cc anfree@… added
  • Milestone set to 2.2.2
  • Status changed from new to assigned

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

comment:3 Changed 11 years ago by bruno

  • Milestone changed from 2.2.2 to 2.2.3

comment:4 Changed 11 years ago by seekgzl

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 Changed 11 years ago by bruno

  • Cc andree@… added; anfree@… removed

Andree, does that feature also exist in Debian ?

comment:6 Changed 11 years ago by bruno

  • Milestone changed from 2.2.3 to 2.2.4

comment:7 Changed 11 years ago by bruno

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 Changed 11 years ago by bruno

  • Milestone changed from 2.2.4 to 3.0.2
Note: See TracTickets for help on using tickets.