summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit.erl3
-rw-r--r--src/rabbit_channel.erl3
-rw-r--r--src/rabbit_framing_channel.erl6
-rw-r--r--src/rabbit_reader.erl6
4 files changed, 12 insertions, 6 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 7ad13a7d28..7f808bc9dd 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -87,7 +87,8 @@ stop() ->
stop_and_halt() ->
spawn(fun () ->
SleepTime = 1000,
- rabbit_log:info("Stop-and-halt request received; halting in ~p milliseconds~n",
+ rabbit_log:info("Stop-and-halt request received; "
+ "halting in ~p milliseconds~n",
[SleepTime]),
timer:sleep(SleepTime),
init:stop()
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 39867a4b61..5a1c095266 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -911,7 +911,8 @@ is_message_persistent(#content{properties = #'P_basic'{
1 -> false;
2 -> true;
undefined -> false;
- Other -> rabbit_log:warning("Unknown delivery mode ~p - treating as 1, non-persistent~n",
+ Other -> rabbit_log:warning("Unknown delivery mode ~p - "
+ "treating as 1, non-persistent~n",
[Other]),
false
end.
diff --git a/src/rabbit_framing_channel.erl b/src/rabbit_framing_channel.erl
index 060bed4893..5c447792a2 100644
--- a/src/rabbit_framing_channel.erl
+++ b/src/rabbit_framing_channel.erl
@@ -95,13 +95,15 @@ collect_content(ChannelPid, MethodName) ->
true ->
rabbit_misc:protocol_error(
command_invalid,
- "expected content header for class ~w, got one for class ~w instead",
+ "expected content header for class ~w, "
+ "got one for class ~w instead",
[ClassId, HeaderClassId])
end;
_ ->
rabbit_misc:protocol_error(
command_invalid,
- "expected content header for class ~w, got non content header frame instead",
+ "expected content header for class ~w, "
+ "got non content header frame instead",
[ClassId])
end.
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 3f8d7cac5f..9dbc49df47 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -173,7 +173,8 @@ setup_profiling() ->
Value = rabbit_misc:get_config(profiling_enabled, false),
case Value of
once ->
- rabbit_log:info("Enabling profiling for this connection, and disabling for subsequent.~n"),
+ rabbit_log:info("Enabling profiling for this connection, "
+ "and disabling for subsequent.~n"),
rabbit_misc:set_config(profiling_enabled, false),
fprof:trace(start);
true ->
@@ -404,7 +405,8 @@ wait_for_channel_termination(N, TimerRef) ->
normal -> ok;
_ ->
rabbit_log:error(
- "connection ~p, channel ~p - error while terminating:~n~p~n",
+ "connection ~p, channel ~p - "
+ "error while terminating:~n~p~n",
[self(), Channel, Reason])
end,
wait_for_channel_termination(N-1, TimerRef)