diff options
| author | Hubert Plociniczak <hubert@lshift.net> | 2008-08-27 11:18:53 +0100 |
|---|---|---|
| committer | Hubert Plociniczak <hubert@lshift.net> | 2008-08-27 11:18:53 +0100 |
| commit | ba9602eff1d7900a64557902e444c2015a79d677 (patch) | |
| tree | ded564973eb3ab38b3a8a2c8b9d59655d3d8f04e /docs | |
| parent | f68deec1639ff31ee8ceac62bcb0093f99b276a6 (diff) | |
| parent | 1943485645746a580239ca6a2ec80218ecca5646 (diff) | |
| download | rabbitmq-server-git-ba9602eff1d7900a64557902e444c2015a79d677.tar.gz | |
Merged bug19200 into bug19193
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmqctl.pod | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/rabbitmqctl.pod b/docs/rabbitmqctl.pod index eb1750d04c..927fd8af40 100644 --- a/docs/rabbitmqctl.pod +++ b/docs/rabbitmqctl.pod @@ -66,12 +66,13 @@ force_reset It should only be used as a last resort if the database or cluster configuration has been corrupted. -reopen_logs [suffix] - instruct the RabbitMQ node to close and reopen the log files. - When the I<suffix> value is provided, the RabbitMQ broker will - attempt to append the current contents of the log file to the file - with name composed of the original name and the suffix. It will - create a new file if such a file does not already exist. +rotate_logs [suffix] + instruct the RabbitMQ node to rotate the log files. The RabbitMQ + broker will attempt to append the current contents of the log file + to the file with name composed of the original name and the suffix. + It will create a new file if such a file does not already exist. + When no I<suffix> is specified, the log file is simply reopened; + no rotation takes place. This command might be helpful when you are e.g. writing your own logrotate script and you do not want to restart the RabbitMQ node. @@ -131,7 +132,7 @@ default Erlang node: Append current logs' content to the files with ".1" suffix and reopen them: - rabbitmqctl reopen_logs .1 + rabbitmqctl rotate_logs .1 =head1 SEE ALSO |
