Yes, they are innocent; yes, we log them with DEBUG level. But they
scare people, they make people judge the software, they are bad PR, and
they are probably redundant, string representation of the exception
should be enough. If there is an issue that will result in retry
attempts used without remedy, only then we should spill tracebacks and
scare users.
Reviewed: https:/ /review. openstack. org/445631 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=4f7fc8435f9 340aae293bdcfef 99201956ec2838
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4f7fc8435f9340a ae293bdcfef9920 1956ec2838
Author: Ihar Hrachyshka <email address hidden>
Date: Wed Mar 8 04:05:18 2017 +0000
Stop spilling tracebacks during normal operation
Yes, they are innocent; yes, we log them with DEBUG level. But they
scare people, they make people judge the software, they are bad PR, and
they are probably redundant, string representation of the exception
should be enough. If there is an issue that will result in retry
attempts used without remedy, only then we should spill tracebacks and
scare users.
Guidelines: https:/ /specs. openstack. org/openstack/ openstack- specs/specs/ log-guidelines. html#stacktrace s-in-logs
Partial-Bug: #1673249 64b1840c01ee6cf 56a51bc7400
Change-Id: I791a52161635da