File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ The source files of these examples are available :scm_web:`here <docs/examples/l
1212
1313 ``LoggingHandler `` has moved from the SDK to the
1414 ``opentelemetry-instrumentation-logging `` package in the contrib repo
15- and is no longer available in ``opentelemetry-sdk ``.
15+ and is deprecated in ``opentelemetry-sdk ``.
1616
1717
1818Installation
Original file line number Diff line number Diff line change 5151logger1 = logging .getLogger ("myapp.area1" )
5252logger2 = logging .getLogger ("myapp.area2" )
5353
54- # Ensure log records propagate to root logger so the handler picks them up
55- logger1 . propagate = True
56- logger2 . propagate = True
54+ # Propagate is True by default, ensure it is not set to False so log
55+ # records reach the root logger handler. See
56+ # https://docs.python.org/3/library/logging.html#logging.Logger. propagate
5757
5858logger1 .debug ("Quick zephyrs blow, vexing daft Jim." )
5959logger1 .info ("How quickly daft jumping zebras vex." )
You can’t perform that action at this time.
0 commit comments