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

set-access-log-buffer-prop

Syntax

tadm set-access-log-buffer-prop common_options --config=config_name  (property_name=property_value)+

Description

Use this command to set the properties of the access-log buffer.

Options

For information about common_options, run the help command.

--config|-c

Specify the configuration for which you want to set the properties of the access-log buffer.

Operands

property-name=property-value

Specify name=value pairs for one or more properties that you want to define. The name=value pairs should be separated by spaces.

You can set the following set-access-log buffer properties:

enabled: Specifies whether the server should buffer the access log entries.
Values: true, false. Default: true

buffer-size: The size (in bytes) of individual access log buffers.
Values: 4096 to 1048576.

direct-io: Indicates whether the file system should cache access-log writes. The default value, false, indicates that the file system should cache access log writes. Setting the value to true indicates that the file system should not cache access log writes. The setting is purely advisory; either the server or the operating system may choose to ignore it.
Values: true, false. Default: false

max-buffers: Specifies the maximum number of access log buffers per server.
Values: 1 to 65536.

max-buffers-per-file: Specifies the maximum number of access log buffers per access-log file.
Values: 1 to 128.

Note:

The property max-buffers-per-file can accept default as a value. Default implies that the server will compute the value of this property at runtime.

max-age: The maximum time (in seconds) to buffer a given access-log entry.
Values: 0.001 to 3600.

To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>

Example

tadm set-access-log-buffer-prop --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt 

--config=www.example.org max-age=1000

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-access-log-buffer-prop, enable-access-log, disable-access-log, get-access-log, get-log, get-log-prop, set-log-prop, rotate-log