MetOffice / MetOffice/lfric_core
Logging framework wont work with multiple models in one executable
- Dominant language
- Fortran
- Stars
- 26
- Forks
- 73
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
### Are there any linked Issues or Pull Requests?
_No response_
### Brief description
Because the logger is based on global scope variables it will not work if we want two `modeldb`s in an executable. For instance, it is not unreasonable to want each to be logging at different levels. This cannot work under the current regime.
### Further details of the issue.
Global scope logging properties include logging level and standard and error output streams.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by tracing the logging framework and modeldb initialization to locate the global logging level and standard/error output properties. Done means separate modeldb instances can use different logging levels and output streams within one executable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fortran
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100