get-tcp-access-log

Syntax

tadm get-tcp-access-log common_options [--start-date=MM/dd/yyyy:HH:mm:ss] [--end-date=MM/dd/yyyy:HH:mm:ss] [--num-records=number_of_records]  --config=config_name node_host

Description

Use this command to view the TCP access log entries. The access log records information about requests to and responses from the server. If non-mandatory options are chosen, this command shows the last 100 entries of the default TCP access log file for the selected configuration and node.

Options

For information about common_options, run the help command.

--start-date|-S

Specify the starting date and time from which the log messages must be shown. The start date should be in the dd/MM/yyyy:HH:mm:ss format.

--end-date|-E

Specify the ending date and time until which the log messages must be shown. The end date should be in the d/MM/yyyy:HH:mm:ss format.

--num-records|-n

Specify the number of log messages to be shown.

--config|-c

Specify the name of the configuration for which you want to view the access log information.

Operands

node-host

Specify the name of the host.

Example

tadm get-tcp-access-log-prop --user=admin --port=8989 
--password-file=./admin.passwd --host=admin.example.com 
--no-prompt --config=www.example.org node1

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.