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

DAOS-4855 debug: set default log mask to DLOG_ERR (#5174) #5235

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

bfaccini
Copy link
Contributor

By default log mask was set to DLOG_INFO. This is harmless on
server side since it will be overidden using log_mask parameter
in config file. But on client side, now that default log stream
is stdout since first PR-3048 for DAOS-4855, it causes
unnecessary messages to be printed on interactive terminal.

So set default log mask to DLOG_ERR instead and leave the choice
to the user to change it using D_LOG_MASK environment variable.

Master-PR: #5174
Change-Id: If9b89a81764734ccb11e712fb3efc6a442b2713a
Signed-off-by: Bruno Faccini bruno.faccini@intel.com

By default log mask was set to DLOG_INFO. This is harmless on
server side since it will be overidden using log_mask parameter
in config file. But on client side, now that default log stream
is stdout since first PR-3048 for DAOS-4855, it causes
unnecessary messages to be printed on interactive terminal.

So set default log mask to DLOG_ERR instead and leave the choice
to the user to change it using D_LOG_MASK environment variable.

Change-Id: If9b89a81764734ccb11e712fb3efc6a442b2713a
Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
@bfaccini bfaccini self-assigned this Mar 30, 2021
@bfaccini bfaccini requested a review from johannlombardi March 30, 2021 10:02
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No errors found by checkpatch.

@johannlombardi johannlombardi merged commit e272b33 into release/1.2 Mar 30, 2021
@johannlombardi johannlombardi deleted the DAOS-4855_2nd_for-1.2 branch March 30, 2021 10:36
@ashleypittman ashleypittman mentioned this pull request Apr 28, 2021
@ashleypittman ashleypittman mentioned this pull request May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants