You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**How can I enable powertools logging for imported libraries?**
597
+
**How can I enable Powertools logging for imported libraries?**
598
598
599
599
You can copy the Logger setup to all or sub-sets of registered external loggers. Use the `copy_config_to_registered_logger` method to do this.
600
600
@@ -606,7 +606,7 @@ By default all registered loggers will be modified. You can change this behavior
606
606
607
607
**How can I add standard library logging attributes to a log record?**
608
608
609
-
The Python standard library log records contains a [large set of atttributes](https://docs.python.org/3/library/logging.html#logrecord-attributes), however only a few are included in the powertools log record by default.
609
+
The Python standard library log records contains a [large set of atttributes](https://docs.python.org/3/library/logging.html#logrecord-attributes){target="_blank"}, however only a few are included in Powertools Logger log record by default.
610
610
611
611
If you need to add additional records, these can be included as `kwargs` to `Logger`, or to `LambdaPowertoolsFormatter` when they are being instantiated, or to managed later with the `append_keys` or `remove_keys` methods.
612
612
@@ -621,7 +621,7 @@ If you need to add additional records, these can be included as `kwargs` to `Log
For log records originating from powertools`Logger`, the `name` attribute will be the same as `service`, for log records coming from standard library logger, it will be the name of the logger (i.e. what was used as name argument to `logging.getLogger`).
624
+
For log records originating from Powertools`Logger`, the `name` attribute will be the same as `service`, for log records coming from standard library logger, it will be the name of the logger (i.e. what was used as name argument to `logging.getLogger`).
625
625
626
626
**What's the difference between `append_keys` and `extra`?**
0 commit comments