Skip to content

Conversation

heitorlessa
Copy link
Contributor

@heitorlessa heitorlessa commented Dec 21, 2020

Issue #, if available: #249

Description of changes:

  • Adds init attribute to parent Loggers to verify whether they've been previously configured
  • Updates tests to ensure all service_name is unique
  • Ensures there is only one test that doesn't define service_name

Checklist

Breaking change checklist

RFC issue #:

  • Migration process documented
  • Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@heitorlessa heitorlessa added bug Something isn't working area/logger labels Dec 21, 2020
@heitorlessa heitorlessa changed the title bugfix: prevent touching preconfigured loggers #249 fix: prevent touching preconfigured loggers #249 Dec 21, 2020
@heitorlessa heitorlessa merged commit bdb3925 into aws-powertools:develop Dec 21, 2020
@heitorlessa heitorlessa deleted the fix/#249 branch December 21, 2020 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants