Skip to content

Commit 389ea16

Browse files
authored
Merge pull request ceph#50492 from Matan-B/wip-matanb-c-logging-levels
crimson/common/log: Fix debug logging macros Reviewed-by: Samuel Just <[email protected]> Reviewed-by: Yingxin Cheng <[email protected]>
2 parents 2e5a7f3 + 5b33995 commit 389ea16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/crimson/common/log.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static inline seastar::log_level to_log_level(int level) {
8282
#define LOGDPP(level_, MSG, dpp, ...) \
8383
LOCAL_LOGGER.log(level_, "{} {}: " MSG, dpp, FNAME , ##__VA_ARGS__)
8484
#define TRACEDPP(...) LOGDPP(seastar::log_level::trace, __VA_ARGS__)
85-
#define DEBUGDPP(...) LOGDPP(seastar::log_level::trace, __VA_ARGS__)
86-
#define INFODPP(...) LOGDPP(seastar::log_level::trace, __VA_ARGS__)
87-
#define WARNDPP(...) LOGDPP(seastar::log_level::trace, __VA_ARGS__)
88-
#define ERRORDPP(...) LOGDPP(seastar::log_level::trace, __VA_ARGS__)
85+
#define DEBUGDPP(...) LOGDPP(seastar::log_level::debug, __VA_ARGS__)
86+
#define INFODPP(...) LOGDPP(seastar::log_level::info, __VA_ARGS__)
87+
#define WARNDPP(...) LOGDPP(seastar::log_level::warn, __VA_ARGS__)
88+
#define ERRORDPP(...) LOGDPP(seastar::log_level::error, __VA_ARGS__)

0 commit comments

Comments
 (0)