rotate-log <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] --config|-c config-name (nodehost)*
Use this command to rotate log. The logs are rotated at the time you execute this command. The server saves the old log files and marks the saved file with a name that includes the date and time when they were saved.
You can set up your log files to be automatically archived. At a certain time, or after a specified interval, the server rotates your access logs.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the name of the configuration.
wadm rotate-log --user=admin --password-file=../admin.passwd --host=serverhost --port=8989 --ssl=true --no-prompt --rcfile=null --config=config1 node1
The following exit values are returned:
command executed successfully
error in executing the command