chocolatey / chocolatey/choco

API - GetChocolatey.SetCustomLogging should allow keeping existing loggers

Open
#2,122 0 comments 0 reactions 1 assignee Claimed by @ferventcoder View on GitHub
2 - Working API Bug
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

## What You Are Seeing?
Adding a logger results in others being replaced.

### What is Expected?
Adding new loggers should have an option not to remove the existing

### How Did You Get This To Happen? (Steps to Reproduce)

* Use the API.
* Call SetCustomLogging
* Current Loggers are replaced

https://github.com/chocolatey/choco/blob/70f5e373ae3bbc74f27ca51e5ddafb46d2b7fc0c/src/chocolatey/GetChocolatey.cs#L133-L138

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.