# TracingProfileType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Describes how the tracing is to be done.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property string | [0,1] | Name of the tracing profile.
displayName | property string | [0,1] | Name of the tracing profile.
visible | property boolean | [0,1] | Should be this profile visible in GUI? (experimental/temporary)
default | property boolean | [0,1] | Is this the default profile?
ref | property string | [0,-1] | References to tracing profile(s) this one is derived from.
fileNamePattern | property string | [0,1] | Pattern of the file name.
objectNamePattern | property string | [0,1] | Pattern for the repo object.
createTraceFile | property boolean | [0,1] | Whether the trace file is to be created.
createRepoObject | property boolean | [0,1] | Whether the repository object pointing to the stored trace is to be created.
compressOutput | property boolean | [0,1] | Whether the output is to be compressed when saving.
hideDeploymentInformation | property boolean | [0,1] | Whether to hide or include deployment information (except for subscription identifier) in the trace.
measureCpuTime | property boolean | [0,1] | Whether to measure CPU time per operation.
operationMonitoring | container OperationMonitoringType | [0,-1] | What monitored operations to trace.
collectLogEntries | property boolean | [0,1] | Whether to collect log entries.
loggingOverride | container LoggingOverrideType | [0,1] | How to override logging while this tracing profile is active.
recordObjectsFound | property int | [0,1] | How many objects found (e.
recordObjectReferencesFound | property int | [0,1] | How many objects references found (e.
tracingTypeProfile | container TracingTypeProfileType | [0,-1] | How to profile individual operations.

- ### Items

  - #### name

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Name of the tracing profile.

  - #### displayName

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Name of the tracing profile.

  - #### visible

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Should be this profile visible in GUI? (experimental/temporary)

  - #### default

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Is this the default profile?

  - #### ref

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    References to tracing profile(s) this one is derived from.

  - #### fileNamePattern

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Pattern of the file name. Can use macros like %{timestamp}, %{testName}, %{testNameShort}, %{focusName}, %{milliseconds}, etc. The default is trace-%{timestamp} e.g. trace-2019-06-24-19-14-49-503.

  - #### objectNamePattern

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Pattern for the repo object. The default is the same as the file name.

  - #### createTraceFile

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether the trace file is to be created. (Default is true.) A value of false is useful e.g. in tests where we might want to collect trace information but don't need to store it for external use.

  - #### createRepoObject

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether the repository object pointing to the stored trace is to be created. (Default is true.)

  - #### compressOutput

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether the output is to be compressed when saving. (Default is true.)

  - #### hideDeploymentInformation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether to hide or include deployment information (except for subscription identifier) in the trace. Default is false, i.e. the deployment information is included.

  - #### measureCpuTime

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether to measure CPU time per operation.

  - #### operationMonitoring

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    What monitored operations to trace.

  - #### collectLogEntries

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether to collect log entries. (Default is false.) Temporary. Will be replaced with something more elaborate.

  - #### loggingOverride

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How to override logging while this tracing profile is active.

  - #### recordObjectsFound

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How many objects found (e.g. in search operations) we want to store.

  - #### recordObjectReferencesFound

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How many objects references found (e.g. in search operations) we want to store. This starts counting after full objects are stored.

  - #### tracingTypeProfile

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    How to profile individual operations.