Skip to content

Fix logging to be a Common function #60

@jhirschibar

Description

@jhirschibar

Logging currently functions fine. The logger_setup function within proj_constants.py is importable from external projects. However, when the logger is configured for an external project, it duplicates the file_handler.

For example, if working in a project called hood, if I import logger_setup, the logs will be written to /hood/.logs/hood_logs<date>.log, but will also be written to /curator/.logs/curator_logs<date>.log

This ticket is to reconfigure logger_setup and the logging hierarchy so that the logs only write based on whatever project is being run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueLow-priority "best practices" ticket, good for familiarizing with the code basebugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions