lambdaisland / lambdaisland/glogi

Way to unset/remove log handlers?

Open
#24 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Clojure
Stars
127
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hey there :)

Finally found some time to play with this library and gotta say it's really nice how easy it is to add a custom logger.

During development in the REPL I sometimes wanted to remove all logging handlers just to have a "clean slate". I think there's a check to not add the same handler twice but with a REPL session my handler function might have changed and glogi might not be able to know that it's intended to replace an existing handler.

Is there a way to remove all handlers for a situation like this?

Thanks 🙌

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 locating glogi's custom log-handler registration and its existing duplicate-handler check. Determine how a REPL user could clear all registered handlers, then add coverage or documentation showing that handlers can be removed and re-added with updated functions.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
observability-sre
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.