diff options
| author | Hubert Plociniczak <hubert@lshift.net> | 2008-08-29 17:32:40 +0100 |
|---|---|---|
| committer | Hubert Plociniczak <hubert@lshift.net> | 2008-08-29 17:32:40 +0100 |
| commit | a897c30e00b9fa614f4675590983f06a3332809b (patch) | |
| tree | f77458c702bd5d24cf3803f6008c5588616c9c8c /src | |
| parent | dba87cf64053d1537d7e3b93714dba5567da8bad (diff) | |
| download | rabbitmq-server-git-a897c30e00b9fa614f4675590983f06a3332809b.tar.gz | |
Use rabbit_log instead of error_logger
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_error_logger_file_h.erl | 6 | ||||
| -rw-r--r-- | src/rabbit_sasl_report_file_h.erl | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/rabbit_error_logger_file_h.erl b/src/rabbit_error_logger_file_h.erl index 2de861b626..8e13a46c37 100644 --- a/src/rabbit_error_logger_file_h.erl +++ b/src/rabbit_error_logger_file_h.erl @@ -42,9 +42,9 @@ init({{File, Suffix}, []}) -> Error -> case init(File) of {ok, FInfo} -> - error_logger:error_msg("Error occured while appending " ++ - "~p log file to \"~s\":~n~p~n", - [File, [File, Suffix], Error]), + rabbit_log:error("Error occured while appending " ++ + "~p log file to \"~s\":~n~p~n", + [File, [File, Suffix], Error]), io:format("~nOrignal log file could not be appended to " ++ "\"~s\"~n", [[File, Suffix]]), {ok, FInfo}; diff --git a/src/rabbit_sasl_report_file_h.erl b/src/rabbit_sasl_report_file_h.erl index 3b8a591ac0..cc46307412 100644 --- a/src/rabbit_sasl_report_file_h.erl +++ b/src/rabbit_sasl_report_file_h.erl @@ -43,9 +43,9 @@ init({{File, Suffix}, []}) -> Error -> case init(File) of {ok, FInfo} -> - error_logger:error_msg("Error occured while appending " ++ - "~p sasl log file to \"~s\":~n~p~n", - [File, [File, Suffix], Error]), + rabbit_log:error("Error occured while appending " ++ + "~p sasl log file to \"~s\":~n~p~n", + [File, [File, Suffix], Error]), io:format("~nOrignal sasl log file could not be appended " "to \"~s\"~n", [[File, Suffix]]), {ok, FInfo}; |
