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

Enable sea_orm's debug logging #946

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Enable sea_orm's debug logging #946

merged 1 commit into from
Oct 30, 2024

Conversation

jcrossley3
Copy link
Contributor

@jcrossley3 jcrossley3 commented Oct 29, 2024

Fixes #894

Took me too long to figure out that we need to enable a sea_orm feature. Once done, you can see sea_orm statements in tests after setting the RUST_LOG env var:

RUST_LOG=sea_orm=debug

Or more specifically,

RUST_LOG=none,sea_orm::driver::sqlx_postgres=debug

Fixes trustification#894

Took me too long to figure out that we need to enable a sea_orm
feature. Once done, you can see sea_orm statements in tests after
setting the `RUST_LOG` env var:

`RUST_LOG=sea_orm=debug`

Or more specifically,

`RUST_LOG=none,sea_orm::driver::sqlx_postgres=debug`

Signed-off-by: Jim Crossley <[email protected]>
@jcrossley3 jcrossley3 requested a review from ctron October 29, 2024 18:19
@ctron ctron added this pull request to the merge queue Oct 30, 2024
Merged via the queue into trustification:main with commit 223c181 Oct 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In tests, initialize the database after the logging system
2 participants