• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Strange Log4j problem. Help wanted.

 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have a rolling file appender(with one day frequency). This logging is for a web based application.

We have a daily reboot of the systems at 12 in the night. When we try to look for previous day's logs, last day's logs are removed. New logs are created for 1 hour(12-1AM) and are replacing last day's logs.

Basically we are loosing logs for previous day, since the reboot for some reason is causing log4j to remove the previous log and create a new one for 1 hour.

Any feedback is appreciated.
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
somebody??? anybody???
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I have to guess, I'd see if your BackupIndex property set.

post you config, that might help. One thing to notice with Daily Roll overs ,according to Ceki Gulcu, is that the first logging event after midnight triggers rollover.

Regards,
 
reply
    Bookmark Topic Watch Topic
  • New Topic