diff --git a/docs/source/guides/admin-guides/references/man1/replaycons.1.rst b/docs/source/guides/admin-guides/references/man1/replaycons.1.rst index 0cd788690..d8f65b8fe 100644 --- a/docs/source/guides/admin-guides/references/man1/replaycons.1.rst +++ b/docs/source/guides/admin-guides/references/man1/replaycons.1.rst @@ -36,6 +36,10 @@ the speed of the output play back. (The logs are stored in /var/log/consoles.) \ **replaycons**\ must be run locally on the system on which the console log is stored. This is normally that management node, but in a hierarchical cluster will usually be the service node. +Note that when used with confluent, log rotation will cause older logs to have a filename that replaycons +does not understand. You can have replaycons process an older log by appending the suffix seen in +/var/log/confluent/consoles/. For example, 'replaycons n1.2018-02-02' will show the log file indicated. + ******* OPTIONS diff --git a/xCAT-client/pods/man1/replaycons.1.pod b/xCAT-client/pods/man1/replaycons.1.pod index e41a5c07d..a09a69a5b 100644 --- a/xCAT-client/pods/man1/replaycons.1.pod +++ b/xCAT-client/pods/man1/replaycons.1.pod @@ -19,6 +19,10 @@ the speed of the output play back. (The logs are stored in /var/log/consoles.) B must be run locally on the system on which the console log is stored. This is normally that management node, but in a hierarchical cluster will usually be the service node. +Note that when used with confluent, log rotation will cause older logs to have a filename that replaycons +does not understand. You can have replaycons process an older log by appending the suffix seen in +/var/log/confluent/consoles/. For example, 'replaycons n1.2018-02-02' will show the log file indicated. + =head1 OPTIONS diff --git a/xCAT-server/bin/replaycons b/xCAT-server/bin/replaycons index 29c64e688..2ad194d53 100755 --- a/xCAT-server/bin/replaycons +++ b/xCAT-server/bin/replaycons @@ -45,7 +45,7 @@ if ($::VERSION) { } if (@ARGV < 1) { - print "Please specify a node name.\n"; + print "$usage_string\n"; exit(1); }