selector

Type: String

Availability: Read or write at any time

The selector property of the JadeLog class contains the JADE initialization file selector that enables or disables tracing.

The selector is a string that is used by the logging mechanism to determine whether trace messages are output. If a parameter with the same name as the value of the selector property is located in the [JadeLog] section of the JADE initialization file and the parameter has a non-zero numeric value when the application starts up, trace messages are output to the log file. (The value of the selector property and the JADE initialization file the <selector-name> parameter are case-insensitive.)

If the ini parameter is not specified in the JADE command line, the logging mechanism looks for a jadtrace.ini file in the Windows directory (for example, the WINNT directory). If the jadtrace.ini file cannot be located, the selector key in the JADE initialization file is assumed to be zero (0).