diff options
| author | kseleznyov <[email protected]> | 2026-07-15 17:55:41 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-07-15 17:55:41 +0300 |
| commit | dbd2c8e8f8cb914aa884330f3b0ef7c64f036ee4 (patch) | |
| tree | 85b21c3c42192fe0c61faf33dac0fac378bf2f1d | |
| parent | c04d816cce57569ad6ecb181c6e1d8ec49b35ec5 (diff) | |
[YDB_LOG] Migrate ydb/core/persqueue/common (#45802)
| -rw-r--r-- | ydb/core/persqueue/common/actor.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ydb/core/persqueue/common/actor.cpp b/ydb/core/persqueue/common/actor.cpp index 1d67589ff11..22e3c959028 100644 --- a/ydb/core/persqueue/common/actor.cpp +++ b/ydb/core/persqueue/common/actor.cpp @@ -2,12 +2,16 @@ #include <ydb/core/base/counters.h> +#define YDB_LOG_THIS_FILE_COMPONENT service + namespace NKikimr::NPQ { void DoLogUnhandledException(NKikimrServices::EServiceKikimr service, const TStringBuf prefix, const std::exception& exc) { - LOG_CRIT_S(*NActors::TlsActivationContext, service, - prefix << "unhandled exception " << TypeName(exc) << ": " << exc.what() << Endl - << TBackTrace::FromCurrentException().PrintToString()); + YDB_LOG_CRIT("Unhandled exception", + {"prefix", prefix}, + {"exceptionType", TypeName(exc)}, + {"exceptionMessage", exc.what()}, + {"backTrace", TBackTrace::FromCurrentException().PrintToString()}); } const TString& TConstantLogPrefix::GetLogPrefix() const { |
