elastic / elastic/logstash

PluginManager: Switch debug mode from env variable to cmd line parameter?

Open
#7,438 0 comments 2 reactions 0 assignees View on GitHub
discuss plugin manager
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

Throughout the Elastic Stack, debug/verbose logging is turned on with a command line parameter:
- `logstash --log.level=debug`
- `elasticsearch --verbose`
- `elasticsearch-plugin --verbose`
- `filebeat -v`

The exception is `logstash-plugin` which uses a `DEBUG` environment variable. This does not show up in `--help`, making it difficult to find.

Should we switch to using a command line parameter for `logstash-plugin` as well?

If yes, I'm thinking of opening a PR for this.

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.