Ticket #1161 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Logging service shouldn't get started until it's fully read in the config files

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: minor Milestone: Iteration 22
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

At the moment, the logging starts up after the Mantid.properties file is read in, and before the Mantid.user.properties file has been read in.

This can lead to things like:

  • Spurious messages about directories not existing, when in fact their about to be correctly set in the Mantid.user.properties.
  • A file and/or directory for the log being created in the default place specified in the Mantid.properties file even though the Mantid.user.properties will override it.

Change History

comment:1 Changed 11 years ago by Russell Taylor

(In [4160]) Downgrade some of the logging messages in the ConfigService - they weren't necessarily errors and could be confusing. Re #1161.

comment:2 Changed 11 years ago by Russell Taylor

  • Owner set to Russell Taylor
  • Status changed from new to accepted

comment:3 Changed 11 years ago by Russell Taylor

(In [4172]) Re-jig the ConfigService so that the logging doesn't start up until after the Mantid.user.properties file has been dealt with. Re #1161.

comment:4 Changed 11 years ago by Russell Taylor

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

comment:5 Changed 11 years ago by Steve Williams

  • Status changed from testing to closed

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2009

Note: See TracTickets for help on using tickets.