-
Notifications
You must be signed in to change notification settings - Fork 3
Enhance logging #346
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
Merged
Merged
Enhance logging #346
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
023cb5d
Update copilot instructions
ppinchuk 7d4820a
Add missing line
ppinchuk 634b08e
Add logging tests
ppinchuk e3289a3
Adjust main script to catch and log errors as early as possible
ppinchuk 423e25e
Add `log_versions` function
ppinchuk e711e61
Use new logging function
ppinchuk b3764e5
Add test for `log_versions`
ppinchuk 7c65d03
Add test for logging parameters to function
ppinchuk d76191e
Add conversion for `Path` params
ppinchuk e9cbcfb
Add log about processing steps + test
ppinchuk 4ee1654
Add test for error being thrown
ppinchuk 73bd2b0
Add new func
ppinchuk c713e1a
Use new utility func
ppinchuk 6417565
Log start and end of processing
ppinchuk 27fbf38
Configure docs to ignore funcs with docstrings that start with `[NOT …
ppinchuk a8aca8c
Adjust test to cover all permutations
ppinchuk ac14a65
Document new filter functionality
ppinchuk b2ba6d8
Log each processing step
ppinchuk b73cd9f
Minor style update
ppinchuk 7c2a3d9
Minor update to regex
ppinchuk a3f073a
Merge remote-tracking branch 'origin/main' into pp/logging
ppinchuk 241de09
Fix test for windows
ppinchuk adae1d2
Remove unnecessary function call
ppinchuk 160fa74
Fix grammar
ppinchuk e2f703b
Add a few more tests
ppinchuk b881cf8
Merge remote-tracking branch 'origin/main' into pp/logging
ppinchuk 511d408
Log the format used in file
ppinchuk 8f72043
Exception type now in error message
ppinchuk 1bfe00b
Update tests
ppinchuk 7aa8f7e
Warning class also included in message now
ppinchuk 1b377d3
Add trace logger call
ppinchuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| """Ordinance document download and structured data extraction""" | ||
|
|
||
| from ._version import __version__ | ||
| from .utilities.logs import _setup_logging_levels, COMPASS_DEBUG_LEVEL | ||
| from .utilities.logs import setup_logging_levels, COMPASS_DEBUG_LEVEL | ||
|
|
||
| _setup_logging_levels() | ||
| setup_logging_levels() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.