Re: Bug: IPCop v2.0.2 Missing logs after year change
Bob Brewer <[email protected]>
| Newsgroups | gmane.comp.security.ipcop.devel |
|---|---|
| Message-ID | <[email protected]> |
On Monday 02 Jan 2012, Eric Oberlander wrote: > On 2 January 2012 17:16, Bob Brewer <[email protected]> wrote: > > Olaf Westrik wrote: > >>> However, I can move from April 30 to May 1 with the>> button, > >>> but not Feb 28 to March 1, > >>> I don't know why yet. March 1<< Feb 28 works OK. > >> > >> calculatedate() increased the date to 2012-02-29, after that > >> validatedate() first decreases the year to 2011 and notices > >> (correctly) that 2011-02-29 does not exist, thus descreasing the > >> date to 2011-02-28. > >> > >> I'll add some tweaking in calculatedate(), so it returns the > >> correct date. > > > > I'm not sure of the logic in calculatedate() but does it also take > > cgi info from the month and day settings as well as the << >> > > buttons because I still don't see any logs for 31st December even > > when set from the month and day setting? > > Bob > > Can you look in /var/log and see what the the messages file for Dec > 31 was renamed to. > Do a ls -al > > I was away for a day or two, and my log file for Dec 31 was renamed > messages-20120101.gz when I rebooted IPCop, so none of its contents > were found. > > I assumed it was just me... > > Eric messages-20111230.gz My messages log was rotated on Dec 31 18:00 and contains some of the 31st Dec logs. Bob ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox