.. _logging-too-few-args:

logging-too-few-args / E1206
============================

**Message emitted:**

Not enough arguments for logging format string

**Description:**

*Used when a logging format string is given too few arguments.*

**Problematic code:**

.. literalinclude:: /data/messages/l/logging-too-few-args/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/l/logging-too-few-args/good.py
   :language: python



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