summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-08-19 15:26:11 +0100
committerHubert Plociniczak <hubert@lshift.net>2008-08-19 15:26:11 +0100
commitf68deec1639ff31ee8ceac62bcb0093f99b276a6 (patch)
tree1b4d033391836ac0be0e6ae730b14688884ffb74 /docs
parentad27fd9268b0efb0674e71b2d99cbc12cbcb162f (diff)
parentd6a2ba61a838b604fad47286afa097d136095635 (diff)
downloadrabbitmq-server-git-f68deec1639ff31ee8ceac62bcb0093f99b276a6.tar.gz
Merge bug19200 into bug19193
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmqctl.pod11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/rabbitmqctl.pod b/docs/rabbitmqctl.pod
index ebe0cd4393..eb1750d04c 100644
--- a/docs/rabbitmqctl.pod
+++ b/docs/rabbitmqctl.pod
@@ -66,8 +66,12 @@ force_reset
It should only be used as a last resort if the database or cluster
configuration has been corrupted.
-reopen_logs
+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.
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.
@@ -123,6 +127,11 @@ Grant user named foo access to the virtual host called test at the
default Erlang node:
rabbitmqctl map_user_vhost foo test
+
+Append current logs' content to the files with ".1" suffix and reopen
+them:
+
+ rabbitmqctl reopen_logs .1
=head1 SEE ALSO