Previously translated messages are included in log messages
and it was determined what language is chosen by users.
It makes difficult for operators to understand log messgaes.
This commit tries to use English messages for all log messages.
The following policies are applied based on the past discussions
in the bug 1406333 and related reviews.
- English messages are used for log messages.
- log messages include exception messages if possible
to help operators identify what happens.
- Use ID rather than name for log messages
as ID is much more unique compared to name.
- LOG.debug() in success code path are deleted.
We don't log success messages in most places and API calls to
back-end services can be logged from python bindings.
Reviewed: https:/ /review. openstack. org/455635 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=ced987815d6 a091fbcedbd4c31 9395038cb3f976
Committed: https:/
Submitter: Jenkins
Branch: master
commit ced987815d6a091 fbcedbd4c319395 038cb3f976
Author: Akihiro Motoki <email address hidden>
Date: Tue Apr 11 10:24:01 2017 +0000
Ensure log messages are not translated
Previously translated messages are included in log messages
and it was determined what language is chosen by users.
It makes difficult for operators to understand log messgaes.
This commit tries to use English messages for all log messages.
The following policies are applied based on the past discussions
in the bug 1406333 and related reviews.
- English messages are used for log messages.
- log messages include exception messages if possible
to help operators identify what happens.
- Use ID rather than name for log messages
as ID is much more unique compared to name.
- LOG.debug() in success code path are deleted.
We don't log success messages in most places and API calls to
back-end services can be logged from python bindings.
Change-Id: Ie5544639083274 35d886d0d0f1671 fd327c0cd00
Closes-Bug: #1406333