Skip to content

Commit

Permalink
fix otlp: Do no assert that old logger is mem
Browse files Browse the repository at this point in the history
commit_hash:bf84f60f310094142eb5b075060d0eac9dba8a20
  • Loading branch information
fdr400 committed Sep 27, 2024
1 parent 7eb7ed3 commit abeedcf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions otlp/src/otlp/logs/component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ LoggerComponent::LoggerComponent(const components::ComponentConfig& config,
}
}

UASSERT(dynamic_cast<logging::impl::MemLogger*>(&old_logger_));

logger_->SetDefaultLogger(default_logger);

logging::impl::SetDefaultLoggerRef(*logger_);
Expand Down

0 comments on commit abeedcf

Please sign in to comment.