Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved Issue - Update logger initialization to use module-specific loggers #140 #143

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

AkashS0510
Copy link
Collaborator

@AkashS0510 AkashS0510 commented Jul 23, 2024

Changed logger = logging.getLogger() to logger = logging.getLogger(name) in all files #140

Copy link
Contributor

@samriddhi99 samriddhi99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Could you please remove the TODO comments before we merge? Let me know if you need any assistance. 😊

@AkashS0510
Copy link
Collaborator Author

AkashS0510 commented Jul 24, 2024

Have removed the TODO comments

@AkashS0510 AkashS0510 force-pushed the update-logger branch 4 times, most recently from bdcb4f4 to acf1fdb Compare July 29, 2024 08:51
@AkashS0510 AkashS0510 force-pushed the update-logger branch 2 times, most recently from 3644714 to 3ca22bf Compare July 29, 2024 09:15
@refeed
Copy link
Member

refeed commented Jul 29, 2024

Close and reopening the PR to trigger gh actions

@refeed refeed closed this Jul 29, 2024
@refeed refeed reopened this Jul 29, 2024
Copy link
Member

@refeed refeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Changed "logger = logging.getLogger()" line of code to "logger = logging.getLogger(__name__)" in all files

Removed the TODO Comments - "# TODO: At least add __name__ as the name for the logger" in all files
#140
Copy link

@samriddhi99 samriddhi99 merged commit dc658cf into StackGuardian:main Jul 29, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants