@@ -715,7 +715,12 @@ a corresponding section in the configuration file.
715715The ``args `` entry, when :func: `eval `\ uated in the context of the ``logging ``
716716package's namespace, is the list of arguments to the constructor for the handler
717717class. Refer to the constructors for the relevant handlers, or to the examples
718- below, to see how typical entries are constructed.
718+ below, to see how typical entries are constructed. If not provided, it defaults
719+ to ``() ``.
720+
721+ The optional ``kwargs `` entry, when :func: `eval `\ uated in the context of the
722+ ``logging `` package's namespace, is the keyword argument dict to the constructor
723+ for the handler class. If not provided, it defaults to ``{} ``.
719724
720725.. code-block :: ini
721726
@@ -754,6 +759,7 @@ below, to see how typical entries are constructed.
754759 level =WARN
755760 formatter =form07
756761 args =(' localhost' , ' from@abc' , [' user1@abc' , ' user2@xyz' ], ' Logger Subject' )
762+ kwargs ={' timeout' : 10.0}
757763
758764 [handler_hand08]
759765 class =handlers.MemoryHandler
@@ -767,6 +773,7 @@ below, to see how typical entries are constructed.
767773 level =NOTSET
768774 formatter =form09
769775 args =(' localhost:9022' , ' /log' , ' GET' )
776+ kwargs ={' secure' : True}
770777
771778 Sections which specify formatter configuration are typified by the following.
772779
0 commit comments