Skip Headers
Oracle® Traffic Director Command-Line Reference
11g Release 1 (11.1.1.7)

Part Number E21037-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

get-access-log

Syntax

tadm get-access-log common_options [--start-date=MM/dd/yyyy:HH:mm:ss] [--end-date=MM/dd/yyyy:HH:mm:ss] 
[--status-code=status_code] [--num-records=number_of_records][--vs=vs_name] --config=config_name (node_host)

Description

Use this command to view the Oracle Traffic Director 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 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 dd/MM/yyyy:HH:mm:ss format.

--status-code|-o

Specify the status code of HTTP response code, for example, 200, 300, or 400.

--num-records|-n

Specify the number of log messages to be shown.

--vs|-s

Specify the name of the virtual server. Use this option if you want to view the access file entries of a particular virtual server.

--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 node.

Example

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

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.

See Also

help, get-log, get-access-log-buffer-prop, enable-access-log, disable-access-log, get-log, get-log-prop, set-log-prop, rotate-log