diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-11-25 11:33:56 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-11-25 11:33:56 +0000 |
| commit | 47c5772a5a4e8dc15ac4f392c3c7877c8470025f (patch) | |
| tree | fe4f9c05ed837b5ea74768b4e8fca4dfb27e849f /src | |
| parent | 2d776a2bc7914ee5de21300f5a83ca474a91a7e6 (diff) | |
| download | rabbitmq-server-git-47c5772a5a4e8dc15ac4f392c3c7877c8470025f.tar.gz | |
removed calls to rabbit_log, using error_logger instead. Still one call to rabbit_misc:cmd. Not sure quite what to do about that...
Diffstat (limited to 'src')
| -rw-r--r-- | src/file_handle_cache.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index 53c3e6a2a3..cf27817942 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -570,7 +570,7 @@ init([]) -> _ -> ulimit() end, - rabbit_log:info("Limiting to approx ~p file handles~n", [Limit]), + error_logger:info_msg("Limiting to approx ~p file handles~n", [Limit]), {ok, #fhc_state { elders = dict:new(), limit = Limit, count = 0}}. handle_call(_Msg, _From, State) -> @@ -664,8 +664,8 @@ ulimit() -> String)) - ?RESERVED_FOR_OTHERS, lists:max([1, Num]); String -> - rabbit_log:warning("Unexpected result of \"ulimit -n\": ~p~n", - [String]), + error_logger:warning_msg( + "Unexpected result of \"ulimit -n\": ~p~n", [String]), throw({unexpected_result, String}) end catch _ -> case os:type() of |
