github / github/gh-gei

Provide a means to suppress log-file generation

Open
#1,110 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
478
Forks
146
Avg merge
7d 21h
Merged PRs (30d)
2

Description

## Description

GEI verbosely outputs log files of every command, which is great until you realize it outputs for _every_ command. Even trivial commands like `gh gei --help` and `gh gei --version` will generate two log files each.

It would be nice to have a way to tell GEI to _not_ generate those log files. It could be a flag, like `--log-level off`, or an environment variable, like `GEI_LOG_LEVEL=0`.

### Expected Behaviour

```
$ gh gei --log-level=off --version
[2023-09-06 08:32:07] [INFO] You are running the latest version of the gei CLI [v1.1.0]
1.1.0
```

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.