<request-tracing-service-configuration threshold-value="30" threshold-unit="SECONDS" enabled="true"> <log-notifier enabled="true"></log-notifier> </request-tracing-service-configuration>
Request Tracing Configuration
The request tracing service configuration is stored in the
file. As with any aspect of Payara Server configuration, we do not
recommend modifying the
domain.xml due to the likelihood of typos
As shown above, there are three main attributes which can be configured,
in addition to a
This defines the number of units beyond which a request will be traced.
This defines the time duration per unit. The accepted options are any valid java.util.concurrent.TimeUnit values. By default the threshold value is 3 MINUTES. In the snippet given above, it’s set to 30 SECONDS.
Whether or not the service is turned on
There is an additional configuration option which can be seen in the
admin console, or specified as an argument to the
asadmin command called
dynamic. Setting this
to true will activate the change without having to do a server restart.
|Not included in the admin console for release 18.104.22.168 is an option to set the notifier type. This is intentional for this tech-preview release, since the general notifier service is released with only one available notifier. When further notifiers are added, the option to specify the type of notifier will be added.|