diff options
| -rw-r--r-- | docs/rabbitmqctl.1.xml | 7 | ||||
| -rw-r--r-- | src/rabbit.erl | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml index fb4959b276..c9b699d634 100644 --- a/docs/rabbitmqctl.1.xml +++ b/docs/rabbitmqctl.1.xml @@ -275,10 +275,9 @@ suffixed files. </para> <para> - When the target files do not exist they are created. - When no <option>suffix</option> is specified, the empty - log files are simply created at the original location; - no rotation takes place. + When the target files do not exist they are created. When + no <option>suffix</option> is specified, no rotation takes + place - log files are just re-opened. </para> <para role="example-prefix">For example:</para> <screen role="example">rabbitmqctl rotate_logs .1</screen> diff --git a/src/rabbit.erl b/src/rabbit.erl index 8f415eb582..4fff48c50f 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -445,7 +445,6 @@ environment(App) -> lists:keysort(1, [P || P = {K, _} <- application:get_all_env(App), not lists:member(K, Ignore)]). - rotate_logs() -> rabbit_lager:fold_sinks( fun |
