summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-08-26 13:25:55 +0100
committerHubert Plociniczak <hubert@lshift.net>2008-08-26 13:25:55 +0100
commit6dc907780cd799ca04bdae6f0b2cdfd9d1c2b963 (patch)
tree34fc4b3aa6e6962879684ac2eb3d39a7bd5f9523 /docs
parentd6a2ba61a838b604fad47286afa097d136095635 (diff)
downloadrabbitmq-server-git-6dc907780cd799ca04bdae6f0b2cdfd9d1c2b963.tar.gz
Added wrappers around standard error_logger_file_h
and sasl_report_file_h modules, because they were not expecting proper arguments in init/1 when swapping handlers. Renamed reopen_logs to rotate_logs.
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmqctl.pod13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/rabbitmqctl.pod b/docs/rabbitmqctl.pod
index eb1750d04c..d6e0bac71a 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.