setTraceSinks()

Adds a role or changes the file limit of a previously specified sink. Returns OK if successful; returns an error if not successful.

The following table lists the parameters:
Parameter Type Description
Sink Name String The name of the sink for which you want to add a role or change the file limit.
Role Name String The name of the role you want to add to this sink (warning, error, debug, or user defined). The default value is All.
File Size Integer The maximum file size for the sink.

This parameter is ignored if the sink specified by sinkName is not a file sink.