Closed Jaclynpqc closed 8 months ago
@Jaclynpqc Can you please provide the final version of the output and what it looks like? Although I can see the changes in the Files Changed tab, it may be easier for most people to see what it looks like. It may be helpful to display the before and after images of the improved logging system.
This feature works on a linux device.
This feature works on a Windows device!
@Jaclynpqc Would you mind posting examples here of the elements @gkapfham requested, so we can close that request change?
@gkapfham @boulais01 I have tested and confirmed that my implementation works on all three major OS systems, and on both CONSOLE and SYSLOG. This pull request enhances the logging output in the main.py file by strategically placing logging statements in various functions. The improved logging provides detailed information about the execution flow, enabling easier debugging and troubleshooting.
I added logging statements relating to debug info, debug destination, file path directory, and current version. For example:
Debug level? DEBUG
Debug destination? SYSLOG
Current Chasten version 0.2.0
Using XPath version 2.0
I also added more logging statements at key points of the operation that likely going to cause errors.
I have made additional changes to this feature. This PR is now ready to merge
Once the changes are resolved, I can merge this
Once the changes are resolved, I can merge this
Oops, this also needs one more Professor/TL review
This pull request enhances the logging output in the main.py file by strategically placing
logger.debug
statements in various functions. The improved logging provides detailed information about the execution flow, enabling easier debugging and troubleshooting.I added logging statements relating to debug info, debug destination, file path directory, current version using: For example,
I also add more logging statements at key points of the operation that likely going to cause error. I attached a screenshot below, in which you could see two server CONSOLE and SYSLOG run at the same time for
chasten analyze
. While CONSOLE returns the checked patterns, SYSLOG returns some logging statement and info that might come in handy when troubleshooting and debugging the code: