.. _logging-unsupported-format:

logging-unsupported-format / E1200
==================================

**Message emitted:**

``Unsupported logging format character %r (%#02x) at index %d``

**Description:**

*Used when an unsupported format character is used in a logging statement format string.*

**Problematic code:**

.. literalinclude:: /data/messages/l/logging-unsupported-format/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/l/logging-unsupported-format/good.py
   :language: python





Created by the `logging <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/logging.py>`__ checker.