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

Add Python DB Logger #136

Merged
merged 29 commits into from
Nov 1, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
027d353
Added DB Logger
rtdtwo Mar 7, 2023
e7d9178
Added docker config and example env file
rtdtwo Mar 7, 2023
2f6648d
Added dependency in setu.py, comments
rtdtwo Mar 7, 2023
19c42fe
Removed orphan global call
rtdtwo Mar 7, 2023
6c4af3b
Merge branch 'develop' into feature/ADRC-2460-add-db-logger
Mar 7, 2023
b79d626
Added db logger report generation function call
rtdtwo Mar 7, 2023
a9a548f
Update readme with PDBL setup instructions
Mar 21, 2023
7a670a3
Update install_requires to include db_logger's correct spacing
rtdtwo Mar 23, 2023
1231bad
DB logger example env, logger connection fix, update readme
rtdtwo Mar 23, 2023
2a0421a
Update logger.py to include level to fix db logger not logging.
rtdtwo Mar 23, 2023
5423271
Added mysql table create when containers start
rtdtwo Apr 5, 2023
58f26a7
Deleting xample.env in favor of the other env example file
rtdtwo Apr 5, 2023
a0320df
Update README.md
rtdtwo Apr 5, 2023
7290137
Merge branch 'develop' into feature/ADRC-2460-add-db-logger
Apr 8, 2023
ca9ce6c
Added Logger to Warning and Errors
rtdtwo Apr 13, 2023
60800ac
Merge branch 'develop' into feature/ADRC-2460-add-db-logger
sinarest1608 Aug 4, 2023
d2534b2
Added venv to gitignore
sinarest1608 Aug 4, 2023
7c4f199
Replaced python_db_logger with report_handler
sinarest1608 Aug 8, 2023
168b87d
removed db_logger helper files
sinarest1608 Aug 17, 2023
c8cd079
Removed commented db_logger instances
sinarest1608 Aug 17, 2023
ce4d659
Updated configure_logging
sinarest1608 Aug 17, 2023
84db5c0
Fixed extra space
sinarest1608 Aug 17, 2023
9f8ca0e
Fixed bugs in report_handler import
sinarest1608 Aug 25, 2023
42b0e68
Fixed report_handler
sinarest1608 Sep 7, 2023
150500b
Merge branch 'develop' into feature/ADRC-2460-add-db-logger
sinarest1608 Oct 12, 2023
40358a6
Fixed error messages "Unknown"
sinarest1608 Oct 31, 2023
1846f75
Fixed "Assertion Error" bug
sinarest1608 Oct 31, 2023
ca48218
Added traceback information in report
sinarest1608 Nov 1, 2023
6252ad8
Removed commented code
sinarest1608 Nov 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
sinarest1608 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,12 @@ first.
_Note: execute `generator.py` from the same folder as the `corrected`
folder, which should contain any "corrected" DEDs._

## MySQL setup for Python DB Logger
To enable local database logging with Python DB Logger,
1. Create a copy of example.env:
- `cp example.env .env`
2. Start the mysql container
- `cd ./containers/mysql && docker compose up -d`
rtdtwo marked this conversation as resolved.
Show resolved Hide resolved

### Resources

Expand Down