Comment 14 for bug 1406333

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/455635
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ced987815d6a091fbcedbd4c319395038cb3f976
Submitter: Jenkins
Branch: master

commit ced987815d6a091fbcedbd4c319395038cb3f976
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: Ie554463908327435d886d0d0f1671fd327c0cd00
    Closes-Bug: #1406333