enable-tcp-access-log

Syntax

tadm enable-tcp-access-log common_options --config=config_name (--file=log_file)

Description

Use this command to enable TCP access log for a configuration.

Options

For information about common_options, run the help command.

--config|-c

Specify the configuration for which you want to enable TCP access log.

--file|-l

Specify the file name for the access log.

Example

tadm enable-tcp-access-log --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt 
--config=www.example.org --file=../logs/file1.log

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, disable-tcp-access-log, get-tcp-access-log-prop, get-tcp-access-log