Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add The Ability To Set Log Level #55

Open
toneill818 opened this issue Aug 19, 2020 · 2 comments
Open

Add The Ability To Set Log Level #55

toneill818 opened this issue Aug 19, 2020 · 2 comments

Comments

@toneill818
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Setting PULSAR_LOG_ROOT_LEVEL and PULSAR_ROOT_LOGGER environment variables using configData does not change the log level since it uses the conf/log4j2.yaml .

Describe the solution you'd like
Ideally we would be able to only use environment variables, but that will not be possible until pulsar does not depend on the log4j2.yaml file. To get it working in its current state, we could create a ConfigMap with the contents of the logfile, then mount it as a volume and set the PULSAR_LOG_CONF to point to our mounted file instead of conf/log4j2.yaml.

@rvashishth
Copy link
Contributor

until pulsar does not depend on the log4j2.yaml file

would it be good to make a PR in pulsar for this?

pgier pushed a commit to pgier/pulsar-helm-chart that referenced this issue Apr 22, 2022
rdhabalia pushed a commit to rdhabalia/pulsar-helm-chart that referenced this issue Feb 2, 2023
…r. (apache#55)

* test bookie logs on ebs

* add persistent volume to ebs

* zookeeper ebs changes for testing

* zookeeper ebs changes for testing

* zookeeper ebs changes for testing

* zookeeper ebs changes for testing

* zookeeper ebs changes for testing

* zookeeper ebs changes for testing

* zookeeper ebs changes for testing

* zookeeper ebs changes for testing

* zookeeper ebs changes for testing

* adding default values
@pisceslj
Copy link

maybe just set these environment variables in values.yaml broker configData:

configData:
    PULSAR_LOG_LEVEL: "debug"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants