Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also
get-log <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] [--start-date|-S dd/MMM/yyyy:HH:mm:ss] [--end-date|-E dd/MMM/yyyy:HH:mm:ss] [--log-level|-l all|catastrophe|security|config|failure|warning|info|fine|finer|finest] [--num-records|-n number-of-records] [--vs|-s vs-name] --config|-c config-name nodehost
Use this command to get the information on error logs. The error log lists all the errors the server has encountered since the log file was created. It also contains other server information such as, when the server was started and a list of unsuccessful login attempts made to the server.
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 starting date and time from which the log messages must be shown. The format of the date must be dd/MM/yyyy:HH:mm:ss.
Specify the ending date and time until which the log messages must be shown. The format of the date must be dd/MM/yyyy:HH:mm:ss.
Specify the severity of the log messages that must be shown. The value can be all, catastrophe, security, config, failure, warning, info, fine, finer, and finest.
Specify the number of log messages to be shown from the end of the error log file.
Specify the name of the virtual server.
Specify the name of the configuration.
wadm get-log --user=admin --password-file=../admin.passwd --host=serverhost --port=8989 --ssl=true --no-prompt --rcfile=null --config=config1 serverhost |
The following exit values are returned:
command executed successfully
error in executing the command
help(1), get-access-log-prop(1), rotate-log(1), get-access-log(1), enable-access-log(1), disable-access-log(1)
Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also