notification-configure

Configures the notification service.

Synopsis

asadmin [asadmin-options] notification-configure
[--help]
[--target target]
[--enabled={false|true}]
[--dynamic={false|true}]

Description

This command can be used to configure the behaviour of the log notifier in Payara Server.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

--target

This option helps specify the target on which you are configuring the notification service. Valid values are:

server

Applies to the default server instance. This is the default value.

cluster_name

Applies to every server instance in the cluster.

instance_name

Applies to a specified server instance.

--enabled

Defaults to false. Enables or disables the notification service

--dynamic

Defaults to false. When set to true, applies the changes without a server restart.

Examples

Example 1 Enables the notification service

asadmin> notification-configure --enabled=true --dynamic=true

Exit Status