MetOffice / MetOffice/lfric_core

Improve log event handling

Open
#405 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Fortran
Stars
26
Forks
73
Avg merge
1d 8h
Merged PRs (30d)
4

Description

Currently behaviour such as "stop on error" is hard coded into the logging system. This is inflexible and causes trouble with unit testing the logging system.

A better approach might be to register handler procedures with log levels allowing behaviour to be customised.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the logging system and tracing where the hard-coded "stop on error" behavior is applied; then determine how handler procedures and log levels should be registered and customized. Done means the behavior is configurable and the logging system can be unit tested without relying on the hard-coded stop behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.