Skip to content

2024.2.1.0-b67

@hari90 hari90 tagged this 26 Nov 21:50
Summary:
Original commit: 06287f047651067afc382179cfcd7f09ce1a76e3 / D40106
`YB_LOG_EVERY_N_SECS_OR_VLOG` uses `LogThrottler.ShouldLog` which calls `VLOG_IS_ON` which causes this macro to expand in `logging.h` instead of the caller of `YB_LOG_EVERY_N_SECS_OR_VLOG`.
With this change `YB_LOG_EVERY_N_SECS_OR_VLOG` will call `VLOG_IS_ON` directly and pass the result to `LogThrottler.ShouldLog`.

Move the logging test back to utils.

Fixes #22655
Jira: DB-11557

Test Plan: logging-test

Reviewers: asrivastava

Reviewed By: asrivastava

Subscribers: ybase, ycdcxcluster

Differential Revision: https://phorge.dev.yugabyte.com/D40188
Assets 2
Loading