summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-08-27 16:24:18 +0100
committerHubert Plociniczak <hubert@lshift.net>2008-08-27 16:24:18 +0100
commitda73cb0d0444fda0d3a70f196f68a51a75707c1c (patch)
tree266d16bea2929c4f4ec9b44776c915dc20e1c36a /src
parent654ab15a9c6e91edf03514a896484e03917c671c (diff)
downloadrabbitmq-server-git-da73cb0d0444fda0d3a70f196f68a51a75707c1c.tar.gz
Added few missing articles
Diffstat (limited to 'src')
-rw-r--r--src/rabbit.erl2
-rw-r--r--src/rabbit_error_logger_file_h.erl4
-rw-r--r--src/rabbit_sasl_report_file_h.erl4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 687d0b30b7..6376d2ee5f 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -171,7 +171,7 @@ start(normal, []) ->
rabbit_error_logger, [DefaultVHost]),
ok = start_builtin_amq_applications(),
%% Swap default handlers with rabbit wrappers
- %% to simplify swapping of log handlers later
+ %% to simplify the swapping of log handlers later
ok = rotate_logs(error_log_location(default), "",
error_logger_file_h,
rabbit_error_logger_file_h),
diff --git a/src/rabbit_error_logger_file_h.erl b/src/rabbit_error_logger_file_h.erl
index 20c6b77800..d5c0ab0891 100644
--- a/src/rabbit_error_logger_file_h.erl
+++ b/src/rabbit_error_logger_file_h.erl
@@ -29,11 +29,11 @@
-export([init/1, handle_event/2, handle_call/2, handle_info/2, terminate/2, code_change/3]).
-%% rabbit_error_logger_file_h is a wrapper around error_logger_file_h
+%% rabbit_error_logger_file_h is a wrapper around the error_logger_file_h
%% module because the original's init/1 does not match properly
%% with the result of closing the old handler when swapping handlers.
%% The first init/1 additionally allows for simple log rotation
-%% when suffix is not ""
+%% when the suffix is not the empty string.
%% Used only when swapping handlers in log rotation
init({{File, Suffix}, []}) ->
diff --git a/src/rabbit_sasl_report_file_h.erl b/src/rabbit_sasl_report_file_h.erl
index eb5bf09178..15f1bfe276 100644
--- a/src/rabbit_sasl_report_file_h.erl
+++ b/src/rabbit_sasl_report_file_h.erl
@@ -29,11 +29,11 @@
-export([init/1, handle_event/2, handle_call/2, handle_info/2, terminate/2, code_change/3]).
-%% rabbit_sasl_report_file_h is a wrapper around sasl_report_file_h
+%% rabbit_sasl_report_file_h is a wrapper around the sasl_report_file_h
%% module because the original's init/1 does not match properly
%% with the result of closing the old handler when swapping handlers.
%% The first init/1 additionally allows for simple log rotation
-%% when suffix is not ""
+%% when the suffix is not the empty string.
%% Used only when swapping handlers and performing
%% log rotation