Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.10.5 List of parameters used for the set-log-attributes command

This section describes parameters that can be specified for attribute-name of the set-log-attributes subcommand.

Parameters used for the set-log-attributes command

No.

Parameter name

Description

Range Value#1

Default Value

Value specified to the --target option

Example

1

ServerInstance.message_log.enabled

Enables or disables message log output of the server instance.

true|false

true

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.message_log.enabled=true

2

ServerInstance.message_log.rotation-size

Specifies the size at which the message log of the server instance is to be rotated.

4096 to 2147483647

16777216

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.message_log.rotation-size=4096

3

ServerInstance.message_log.rotation-time

Specifies the time when the message log of the server instance is to be rotated.

Specify the lap time in the HHMMSS format.

000000

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.message_log.rotation-time=000000

4

ServerInstance.message_log.file-number

Specifies the number of message log files to be kept for the server instance.

1 to 16

8

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.message_log.file-number=8

5

ServerInstance.message_log.log-level

Specifies the log level for the message log of the server instance.#2

1 to 3

2

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.message_log.log-level=2

6

ServerInstance.stacktrace_log.enabled

Enables or disables stack trace log output of the server instance.

true|false

true

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.stacktrace_log.enabled=true

7

ServerInstance.stacktrace_log.rotation-size

Specifies the size at which the stack trace log of the server instance is to be rotated.

4096 to 2147483647

16777216

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.stacktrace_log.rotation-size=4096

8

ServerInstance.stacktrace_log.rotation-time

Specifies the time when the stack trace log of the server instance is to be rotated.

Specify the lap time in the HHMMSS format.

000000

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.stacktrace_log.rotation-time=000000

9

ServerInstance.stacktrace_log.file-number

Specifies the number of stack trace log files to be kept for the server instance.

1 to 16

8

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.stacktrace_log.file-number=8

10

ServerInstance.maintenance_log.enabled

Enables or disables maintenance log output of the server instance.

true|false

true

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.maintenance_log.enabled=true

11

ServerInstance.maintenance_log.rotation-size

Specifies the size at which the maintenance log of the server instance is to be rotated.

4096 to 2147483647

16777216

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.maintenance_log.rotation-size=4096

12

ServerInstance.maintenance_log.rotation-time

Specifies the time when the maintenance log of the server instance is to be rotated.

Specify the lap time in the HHMMSS format.

000000

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.maintenance_log.rotation-time=000000

13

ServerInstance.maintenance_log.file-number

Specifies the number of maintenance log files to be kept for the server instance.

1 to 16

8

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.maintenance_log.file-number=8

14

ServerInstance.maintenance_log.maintenance-log-level

Specifies the log level for the maintenance log of the server instance.

1 to 2

1

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.maintenance_log.maintenance-log-level=1

15

ServerInstance.glassfish_debug_log.enabled

Enables or disables the debugging log output of the server instance.

true|false

false

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.glassfish_debug_log.enabled=false

16

ServerInstance.glassfish_debug_log.rotation-size

Specifies the size at which the debugging log of the server instance is to be rotated.

4096 to 2147483647

2147483647

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.glassfish_debug_log.rotation-size=4096

17

ServerInstance.glassfish_debug_log.rotation-time

Specifies the time when the debugging log of the server instance is to be rotated.

Specify the lap time in the HHMMSS format.

000000

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.glassfish_debug_log.rotation-time=000000

18

ServerInstance.glassfish_debug_log.file-number

Specifies the number of debugging log files to be kept for the server instance.

1 to 16

8

server-instance-name or cluster-name

asadmin set-log-attributes --target=instanceA ServerInstance.glassfish_debug_log.file-number=8

19

DAS.message_log.enabled

Enables or disables message log output of the domain administration server.

true|false

true

server

asadmin set-log-attributes --target=server DAS.message_log.enabled=true

20

DAS.message_log.rotation-size

Specifies the size at which the message log of the domain administration server is to be rotated.

4096 to 2147483647

16777216

server

asadmin set-log-attributes --target=server DAS.message_log.rotation-size=4096

21

DAS.message_log.rotation-time

Specifies the time when the message log of the server administration server is to be rotated.

Specify the lap time in the HHMMSS format.

000000

server

asadmin set-log-attributes --target=server DAS.message_log.rotation-time=000000

22

DAS.message_log.file-number

Specifies the number of message log files to be kept for the domain administration server.

1 to 16

8

server

asadmin set-log-attributes --target=server DAS.message_log.file-number=8

23

DAS.message_log.log-level

Specifies the log level for the message log of the domain administration server.#2

1 to 3

2

server

asadmin set-log-attributes --target=server DAS.message_log.log-level=2

24

DAS.stacktrace_log.enabled

Enables or disables stack trace log output of the domain administration server.

true|false

true

server

asadmin set-log-attributes --target=server DAS.stacktrace_log.enabled=true

25

DAS.stacktrace_log.rotation-size

Specifies the size at which the stack trace log of the server administration server is to be rotated.

4096 to 2147483647

16777216

server

asadmin set-log-attributes --target=server DAS.stacktrace_log.rotation-size=4096

26

DAS.stacktrace_log.rotation-time

Specifies the time when the stack trace log of the server administration server is to be rotated.

Specify the lap time in the HHMMSS format.

000000

server

asadmin set-log-attributes --target=server DAS.stacktrace_log.rotation-time=000000

27

DAS.stacktrace_log.file-number

Specifies the number of stack trace log files to be kept for the domain administration server.

1 to 16

8

server

asadmin set-log-attributes --target=server DAS.stacktrace_log.file-number=8

28

DAS.maintenance_log.enabled

Enables or disables maintenance log output of the domain administration server.

true|false

true

server

asadmin set-log-attributes --target=server DAS.maintenance_log.enabled=true

29

DAS.maintenance_log.rotation-size

Specifies the size at which the maintenance log of the server administration server is to be rotated.

4096 to 2147483647

16777216

server

asadmin set-log-attributes --target=server DAS.maintenance_log.rotation-size=4096

30

DAS.maintenance_log.rotation-time

Specifies the time when the maintenance log of the server administration server is to be rotated.

Specify the lap time in the HHMMSS format.

000000

server

asadmin set-log-attributes --target=server DAS.maintenance_log.rotation-time=000000

31

DAS.maintenance_log.file-number

Specifies the number of maintenance log files to be kept for the domain administration server.

1 to 16

8

server

asadmin set-log-attributes --target=server DAS.maintenance_log.file-number=8

32

DAS.maintenance_log.maintenance-log-level

Specifies the log level for the maintenance log of the domain administration server.

1 to 2

1

server

asadmin set-log-attributes --target=server DAS.maintenance_log.maintenance-log-level=1

33

DAS.glassfish_debug_log.enabled

Enables or disables debugging log output of the domain administration server.

true|false

false

server

asadmin set-log-attributes --target=server DAS.glassfish_debug_log.enabled=false

34

DAS.glassfish_debug_log.rotation-size

Specifies the size at which the debugging log of the server administration server is to be rotated.

4096 to 2147483647

2147483647

server

asadmin set-log-attributes --target=server DAS.glassfish_debug_log.rotation-size=4096

35

DAS.glassfish_debug_log.rotation-time

Specifies the time when the debugging log of the server administration server is to be rotated.

Specify the lap time in the HHMMSS format.

000000

server

asadmin set-log-attributes --target=server DAS.glassfish_debug_log.rotation-time=000000

36

DAS.glassfish_debug_log.file-number

Specifies the number of debugging log files to be kept for the domain administration server.

1 to 16

8

server

asadmin set-log-attributes --target=server DAS.glassfish_debug_log.file-number=8

#1:

If a value outside of the range is specified, the command execution fails.

#2:

To output messages that are output as the standard output to the message log, set the log level to 3. The default setting (2) outputs the messages that are output as the standard error output to the message log.