Skip to content
New issue

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

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

Already on GitHub? # to your account

Update Dockerfile to disable some redundant log messages #176

Merged
merged 5 commits into from
Mar 18, 2021

Conversation

AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Jan 13, 2021

Default log levels for stein:
https://docs.openstack.org/keystone/stein/configuration/samples/keystone-conf.html

#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,oslo_policy=INFO,dogpile.core.dogpile=INFO

we need to include at least:
keystone.server.flask.application=ERROR

@AlvaroVega
Copy link
Member Author

remove several redundant logs like:
2021-02-25 12:43:21.967 30704 WARNING keystone.server.flask.application [req-40d56104-db96-4326-83a5-ae50ccf0c54c 91fe84a8314d42599d121ac8fd5d39a2 - 6af33733653843139af7b59cb18ccfd4 6af33733653843139af7b59cb18ccfd4 -] You are not authorized to perform the requested action: identity:list_domains.: ForbiddenAction: You are not authorized to perform the requested action: identity:list_domains.

@AlvaroVega AlvaroVega changed the title [WIP] Update Dockerfile to disable some redundant log messages Update Dockerfile to disable some redundant log messages Mar 17, 2021
@AlvaroVega AlvaroVega requested a review from fgalan March 17, 2021 15:31
Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

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

LGTM

@fgalan fgalan merged commit d95b10c into master Mar 18, 2021
@fgalan fgalan deleted the task/disable_redurant_logs branch March 18, 2021 10:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants