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.
Logging currently functions fine. The
logger_setupfunction withinproj_constants.pyis 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 importlogger_setup, the logs will be written to/hood/.logs/hood_logs<date>.log, but will also be written to/curator/.logs/curator_logs<date>.logThis ticket is to reconfigure logger_setup and the logging hierarchy so that the logs only write based on whatever project is being run.