Ticket #6127 (assigned)
Multiple Mantids on Windows cannot write to the log file
Reported by: | Russell Taylor | Owned by: | Anyone |
---|---|---|---|
Priority: | minor | Milestone: | Backlog |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
If multiple Mantid processes are started on Windows you get a cryptic message on the console "Cannot open file" for all but the first one. It turns out that this is coming from the logging framework - the first time (& only the 1st time) the second process tries to log something to the mantid.log file it finds it cannot open it.
I'm not sure this is if sufficient concern to try and fix, but I thought I'd record it nonetheless.
N.B. You don't see the message with MantidPlot as it goes to stderr, though the issue is presumably still there.
Change History
comment:2 Changed 8 years ago by Nick Draper
- Status changed from new to assigned
- Owner set to Anyone
I guess the answer here is to make the path for the log file local to the executable
comment:3 Changed 8 years ago by Russell Taylor
Re #6127. Give a bit more information in the error printout.
Changeset: a991bb197d02b8f70fd3c7f0705366a2287d64e4
comment:4 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.4 to Release 2.5
Moved at the code freeze for release 2.4
comment:8 Changed 7 years ago by Nick Draper
- Milestone changed from Release 2.6 to Backlog
Moved to the Backlog after the code freeze for R2.6
comment:9 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
bulk move to assigned at the into of the triage step
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 6973
Re #6127. Give a bit more information in the error printout.