Skip to content

Commit

Permalink
Enable sea_orm's debug logging
Browse files Browse the repository at this point in the history
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`

Signed-off-by: Jim Crossley <[email protected]>
  • Loading branch information
jcrossley3 authored and ctron committed Oct 30, 2024
1 parent fe35933 commit 223c181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ rstest = "0.22"
rust-s3 = "0.35"
sbom-walker = { version = "0.9.0", default-features = false, features = ["crypto-openssl", "cyclonedx-bom", "spdx-rs"] }
schemars = "0.8"
sea-orm = "~1.0" # See https://www.sea-ql.org/blog/2024-08-04-sea-orm-1.0/#release-planning
sea-orm = { version = "~1.0", features = ["debug-print"] } # See https://www.sea-ql.org/blog/2024-08-04-sea-orm-1.0/#release-planning
sea-orm-migration = "~1.0"
sea-query = "0.31.0"
semver = "1"
Expand Down

0 comments on commit 223c181

Please sign in to comment.