Ticket #4247 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Implement log rotation

Reported by: Martyn Gigg Owned by: Nick Draper
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Janik Zikovsky

Description

On some machines log files are getting to GB in size. The Poco::FileChannel class provides log rotation/archiving capabilities. These should be enabled.

Change History

comment:1 Changed 9 years ago by Martyn Gigg

Useful information: http://pocoproject.org/slides/110-Logging.pdf, see page 36

comment:2 Changed 9 years ago by Nick Draper

  • Owner set to Nick Draper
  • Status changed from new to assigned

comment:3 Changed 9 years ago by Nick Draper

implement log rotation re #4247

Logs will rotate when they reach 1MB, and up to 10 old log files will be stored. That should be plenty. Also removed some superfluous debug logging that was causing up to 3.3MB of debug logging on startup.

Changeset: 259a216ce8d0c365d80d4667a1a334176450bb0f

comment:4 Changed 9 years ago by Nick Draper

  • Status changed from assigned to accepted

comment:5 Changed 9 years ago by Nick Draper

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:6 Changed 9 years ago by Nick Draper

  • Status changed from verify to reopened
  • Resolution fixed deleted

comment:7 Changed 9 years ago by Nick Draper

  • Status changed from reopened to accepted

comment:8 Changed 9 years ago by Nick Draper

re #4247 change default file logging to notice

Changeset: be47cad9f807faf4be84e9c847f4bcd3e463e194

comment:9 Changed 9 years ago by Nick Draper

re #4247 re #4289 change default file logging to notice

change alg categories

Changeset: 3da71ffbb6b683f75b2130f77c78b286858e6127

comment:10 Changed 9 years ago by Nick Draper

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:11 Changed 9 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:12 Changed 9 years ago by Janik Zikovsky

  • Status changed from verifying to closed

Logs do rotate after 1 MB.

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5094

Note: See TracTickets for help on using tickets.