File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -198,9 +198,14 @@ terminal::
198198
199199The ``logger `` argument controls logging related to the Socket.IO protocol,
200200while ``engineio_logger `` controls logs that originate in the low-level
201- Engine.IO transport. These arguments can be set to ``True `` to output logs to
202- ``stderr ``, or to an object compatible with Python's ``logging `` package
203- where the logs should be emitted to. A value of ``False `` disables logging.
201+ Engine.IO transport. The value given to these arguments controls logging
202+ behavior:
203+
204+ * ``True ``: Enables log output to ``stderr `` at the ``INFO `` level.
205+ * ``False ``: Enables log output to ``stderr `` at the ``ERROR `` level. This is
206+ the default.
207+ * A ``logging.Logger `` instance: Uses the provided logger without additional
208+ configuration.
204209
205210Logging can help identify the cause of connection problems, unexpected
206211disconnections and other issues.
Original file line number Diff line number Diff line change @@ -657,9 +657,14 @@ terminal::
657657
658658The ``logger `` argument controls logging related to the Socket.IO protocol,
659659while ``engineio_logger `` controls logs that originate in the low-level
660- Engine.IO transport. These arguments can be set to ``True `` to output logs to
661- ``stderr ``, or to an object compatible with Python's ``logging `` package
662- where the logs should be emitted to. A value of ``False `` disables logging.
660+ Engine.IO transport. The value given to these arguments controls logging
661+ behavior:
662+
663+ * ``True ``: Enables log output to ``stderr `` at the ``INFO `` level.
664+ * ``False ``: Enables log output to ``stderr `` at the ``ERROR `` level. This is
665+ the default.
666+ * A ``logging.Logger `` instance: Uses the provided logger without additional
667+ configuration.
663668
664669Logging can help identify the cause of connection problems, 400 responses,
665670bad performance and other issues.
You can’t perform that action at this time.
0 commit comments