Skip to content

Commit e61eb7a

Browse files
More logging
1 parent dbff137 commit e61eb7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deps/rabbitmq_shovel/src/rabbit_shovel_sup.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
-module(rabbit_shovel_sup).
99
-behaviour(supervisor).
1010

11+
-include_lib("kernel/include/logger.hrl").
12+
-include_lib("logging.hrl").
13+
1114
-export([start_link/0, init/1]).
1215

1316
-import(rabbit_shovel_config, []).
@@ -22,6 +25,7 @@ start_link() ->
2225

2326
init([Configurations]) ->
2427
OpMode = rabbit_shovel_operating_mode:operating_mode(),
28+
?LOG_DEBUG("Shovel: operating mode set to ~ts", [OpMode]),
2529
StaticShovelSpecs = make_child_specs(OpMode, Configurations),
2630
Len = dict:size(Configurations),
2731
ChildSpecs = [

0 commit comments

Comments
 (0)