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

Set minimum level to DEBUG in log4j.properties #201

Merged
merged 1 commit into from
Feb 23, 2017

Conversation

jai1
Copy link
Contributor

@jai1 jai1 commented Feb 10, 2017

Motivation

Currently you can't print DEBUG level logs even if you change the configuration.

a. Open ./bin/pulsar and change INFO to DEBUG
b. try running ./bin/pulsar standalone -> You will still get only INFO logs
c. Play around with WARN and ERROR levels to understand the problem better

Modifications

Changed the thresholds to DEBUG as per
http://stackoverflow.com/questions/15086818/log4j-debug-messages-not-showing-in-console-despite-isdebugenabled-being-true

Result

Can go upto DEBUG level logs.

@saandrews
Copy link
Contributor

👍

@merlimat merlimat merged commit 8c8b72c into apache:master Feb 23, 2017
@merlimat merlimat changed the title Update log4j.properties Set minimum level to DEBUG in log4j.properties Feb 23, 2017
@jai1 jai1 deleted the ChangingLogThreshold branch March 6, 2017 17:43
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
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

Successfully merging this pull request may close these issues.

3 participants