Configures the settings of the Log notifier
Synopsis
asadmin [asadmin-options] set-log-notifier-configuration [--help]
[--target target]
[--enabled={false|true}]
[--dynamic={false|true}]
[--noisy={false|true}]
[--useseparatelogfile={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 asadminutility. For information about these options, see theasadminhelp page.
- --help
- -?
- 
Displays the help text for the subcommand. 
- --target
- 
This option helps specify the target on which you are configuring the log notifier. 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 sever instance. 
 
- --enabled
- 
Defaults to false. Enables or disables the notifier
- --dynamic
- 
Defaults to false. When set totrue, applies the changes without a server restart.Otherwise, a restart is required. 
- --noisy
- 
Defaults to false. Whether the log notifier is active even if a notification event threshold is set toFINE.
- --useseparatelogfile
- 
Defaults to false. Whether to use a separate log file to store notifications.
Examples
Example 1 Enable the Log Notifier and Configure Noisy mode
asadmin> set-log-notifier-configuration --enabled=true --dynamic=true --noisy=true