Implement Python Logging #73
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a custom Python logging system into CodeEntropy with the aim of simplifying and unifying the logging process, improving the clarity of logs, and enhancing the ability to troubleshoot issues. It also includes several structural and functional improvements related to data logging and configuration management.
Changes
Introduction of Logging System:
logging_config.pyfile to manage logging configurations and cases.program.out,program.log,program.err,program.com, andmdanalysis.log.INFOandDEBUGmodes for further analysis if needed.INFOverbose mode will enableDEBUGlogging, providing more detailed logs to the user.File Locations:
jobxxx, this will read in what is on the disk and increment job numbers.Data Logging Enhancements:
data_logger.pyfile which handles the data within CodeEntropy, especially with the output being displayed to the user.Configuration and Argument Management:
arg_config_manager.pyfile to handle and manage all command-line arguments within CodeEntropy more efficiently.File Structure and Organization Improvements:
Updated Command-Line Output:
Test Cases Update:
Dependency Management:
python-json-loggerandtabulatepackage topyproject.tomlas a new dependency for better table formatting in the output.Impact