@@ -126,10 +126,10 @@ in :mod:`logging` itself) and defining handlers which are declared either in
126126 Starts up a socket server on the specified port, and listens for new
127127 configurations. If no port is specified, the module's default
128128 :const: `DEFAULT_LOGGING_CONFIG_PORT ` is used. Logging configurations will be
129- sent as a file suitable for processing by :func: `fileConfig `. Returns a
130- :class: `~threading.Thread ` instance on which you can call
131- :meth: `~threading.Thread.start ` to start the server, and which you can
132- :meth: `~threading.Thread.join ` when appropriate. To stop the server,
129+ sent as a file suitable for processing by :func: `dictConfig ` or
130+ :func: ` fileConfig `. Returns a : class: `~threading.Thread ` instance on which
131+ you can call :meth: `~threading.Thread.start ` to start the server, and which
132+ you can :meth: `~threading.Thread.join ` when appropriate. To stop the server,
133133 call :func: `stopListening `.
134134
135135 The ``verify `` argument, if specified, should be a callable which should
@@ -165,9 +165,18 @@ in :mod:`logging` itself) and defining handlers which are declared either in
165165 ``verify `` argument to :func: `listen ` to prevent unrecognised
166166 configurations from being applied.
167167
168- .. versionchanged :: 3.4.
168+ .. versionchanged :: 3.4
169169 The ``verify `` argument was added.
170170
171+ .. note ::
172+
173+ If you want to send configurations to the listener which don't
174+ disable existing loggers, you will need to use a JSON format for
175+ the configuration, which will use :func: `dictConfig ` for configuration.
176+ This method allows you to specify ``disable_existing_loggers `` as
177+ ``False `` in the configuration you send.
178+
179+
171180.. function :: stopListening()
172181
173182 Stops the listening server which was created with a call to :func: `listen `.
0 commit comments