inmanta / inmanta/std

Add logging plugins

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

Nobody has claimed this yet.

enhancement usability
Dominant language
Python
Stars
0
Forks
6
Avg merge
12h 25m
Merged PRs (30d)
5

Description

This module has the std::print module, which works well when compiling a model by hand, but very poorly when using the project fixture of pytest_inmanta.

The idea is to offer another interface for the user to "print out" information from the model, based on python logging.

Open questions:

  1. It can either be a single plugin, similar to logging.Logger.log, or multiple plugins, for the different log levels?
  2. Keep the python logging interface, or the agent logging interface (keyword parameters are better there)?

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

Start by reviewing the existing std::print module and how the project fixture of pytest_inmanta handles model output. Resolve whether the interface should use one plugin or separate log-level plugins, and whether it should follow Python logging or agent logging. Done means the logging-based output interface and its intended behavior are agreed and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.