Skip to content

Commit cf252c8

Browse files
committed
[skip ci] Set logging domain to ?RMQLOG_DOMAIN_GLOBAL on startup
`?RMQLOG_DOMAIN_GLOBAL` used to be added by a now deleted logging module rabbit_log.
1 parent 5d67fc2 commit cf252c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/rabbit/src/rabbit_prelaunch_logging.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,8 @@ clear_config_run_number() ->
501501
-spec configure_logger(rabbit_env:context()) -> ok.
502502

503503
configure_logger(Context) ->
504+
logger:set_primary_config(metadata, #{domain => ?RMQLOG_DOMAIN_GLOBAL}),
505+
504506
%% Configure main handlers.
505507
%% We distinguish them by their type and possibly other
506508
%% parameters (file name, syslog settings, etc.).

0 commit comments

Comments
 (0)