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

Restructure loggers and log calls #236

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft

Restructure loggers and log calls #236

wants to merge 31 commits into from

Conversation

JTS22
Copy link
Contributor

@JTS22 JTS22 commented Jul 24, 2023

This PR improves upon the existing logging system in multiple ways:

  • Logs are grouped into different categories Simulation, Component and additional debugging logs (e.g. CIMReader,CSVReader)
  • Log levels can be configured for file and CLI output independently
  • The log levels for the existing log calls have been adapted to match the updated DPsim logging guidelines (https://dpsim.fein-aachen.org/docs/development/guidelines/#logging)

Closes #88

JTS22 added 22 commits July 24, 2023 13:55
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
@JTS22 JTS22 force-pushed the improve-logging branch from d8b0791 to 83ce14f Compare July 24, 2023 14:01
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
@JTS22 JTS22 force-pushed the improve-logging branch from 5cc87e3 to 51ae163 Compare July 25, 2023 13:48
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
@JTS22 JTS22 force-pushed the improve-logging branch from 51ae163 to 5fad5b6 Compare July 26, 2023 09:47
JTS22 added 3 commits July 26, 2023 10:04
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
@sonarcloud
Copy link

sonarcloud bot commented Jul 26, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 2 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 32 Code Smells

0.0% 0.0% Coverage
16.0% 16.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

JTS22 added 3 commits July 27, 2023 16:23
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Signed-off-by: Jonas Schroeder <jonas.schroeder1@rwth-aachen.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

Guideline on logging level choice
1 participant