Skip to content

Commit

Permalink
feat: Elevate big table settings dump for deployment debug (#609)
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Jenvey <pjenvey@underboss.org>
  • Loading branch information
jrconlin and pjenvey committed Feb 8, 2024
1 parent 37a0724 commit 7d29c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autopush-common/src/db/bigtable/bigtable_client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl BigTableClientImpl {
// let env = Arc::new(EnvBuilder::new().build());
debug!("🏊 BT Pool new");
let db_settings = BigTableDbSettings::try_from(settings.db_settings.as_ref())?;
debug!("🉑 {:#?}", db_settings);
info!("🉑 {:#?}", db_settings);
let pool = BigTablePool::new(settings, &metrics)?;
Ok(Self {
settings: db_settings,
Expand Down
2 changes: 1 addition & 1 deletion autopush-common/src/db/dual/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl DualClientImpl {
let db_settings: DualDbSettings = from_str(&settings.db_settings).map_err(|e| {
DbError::General(format!("Could not parse DualDBSettings string {:?}", e))
})?;
debug!("settings: {:?}", &db_settings.median);
info!(" {:?}", &db_settings);
if StorageType::from_dsn(&db_settings.primary.dsn) != StorageType::BigTable {
return Err(DbError::General(
"Invalid primary DSN specified (must be BigTable type)".to_owned(),
Expand Down

0 comments on commit 7d29c16

Please sign in to comment.