summaryrefslogtreecommitdiff
path: root/src/rabbit_error_logger_file_h.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-22 12:08:33 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-22 12:08:33 +0100
commit7a91b6262b2616a2a394b2395ceb66e4ebf8121e (patch)
tree258ffcce7240d1c30e357367555d8399434f36a1 /src/rabbit_error_logger_file_h.erl
parent5a682e5fd6752a596df837d4443893e1b92e0fc3 (diff)
parentf203e2fa14812e82166d6cab72909135a26036fb (diff)
downloadrabbitmq-server-7a91b6262b2616a2a394b2395ceb66e4ebf8121e.tar.gz
merge default into bug24332bug24332
Diffstat (limited to 'src/rabbit_error_logger_file_h.erl')
-rw-r--r--src/rabbit_error_logger_file_h.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_error_logger_file_h.erl b/src/rabbit_error_logger_file_h.erl
index f481c21e..7b6e07c1 100644
--- a/src/rabbit_error_logger_file_h.erl
+++ b/src/rabbit_error_logger_file_h.erl
@@ -33,7 +33,7 @@
%% Used only when swapping handlers in log rotation
init({{File, Suffix}, []}) ->
- case rabbit_misc:append_file(File, Suffix) of
+ case rabbit_file:append_file(File, Suffix) of
ok -> file:delete(File),
ok;
{error, Error} ->
@@ -54,10 +54,10 @@ init({File, []}) ->
init({{File, []}, _}) ->
init(File);
init({File, {error_logger, Buf}}) ->
- rabbit_misc:ensure_parent_dirs_exist(File),
+ rabbit_file:ensure_parent_dirs_exist(File),
init_file(File, {error_logger, Buf});
init(File) ->
- rabbit_misc:ensure_parent_dirs_exist(File),
+ rabbit_file:ensure_parent_dirs_exist(File),
init_file(File, []).
init_file(File, {error_logger, Buf}) ->