RTI Connext Java API Version 7.6.0

<<extension>> Configures the RTI Connext logging facility. More...

Inheritance diagram for LoggingQosPolicy:
QosPolicy

Public Attributes

LogVerbosity verbosity
 <<basic>> <<extension>> The verbosities at which RTI Connext diagnostic information is logged. More...
 
LogCategory category
 <<basic>> <<extension>> Categories of logged messages. More...
 
LogPrintFormat print_format
 <<extension>> The format used to output RTI Connext diagnostic information. More...
 
String output_file
 <<basic>> <<extension>> Specifies the file to which log messages will be redirected to. More...
 
String output_file_suffix
 <<basic>> <<extension>> Sets the file suffix when logging to a set of files More...
 
int max_bytes_per_file
 <<extension>> Specifies the maximum number of bytes a single file can contain More...
 
int max_files
 <<extension>> Specifies the maximum number of files to create before overwritting the previous ones. More...
 
- Public Attributes inherited from QosPolicy
final QosPolicyId_t id
 The ID of this QoS policy. More...
 
final String policy_name
 The name of this QoS policy. More...
 

Detailed Description

<<extension>> Configures the RTI Connext logging facility.

All the properties associated with RTI Connext logging can be configured using this QoS policy. This allows you to configure logging using XML QoS Profiles. See the "Troubleshooting" chapter in the User's Manual for details.

Entity:
com.rti.dds.domain.DomainParticipantFactory
Properties:
RxO = NO
Changeable = Changeable

Member Data Documentation

◆ verbosity

LogVerbosity verbosity

<<basic>> <<extension>> The verbosities at which RTI Connext diagnostic information is logged.

[default] com.rti.ndds.config.LogVerbosity.NDDS_CONFIG_LOG_VERBOSITY_ERROR

Categories
Mutable, Logging, Debuggability

◆ category

LogCategory category

<<basic>> <<extension>> Categories of logged messages.

[default] Logging will be enabled for all the categories.

Categories
Mutable, Logging, Debuggability

◆ print_format

LogPrintFormat print_format

<<extension>> The format used to output RTI Connext diagnostic information.

[default] com.rti.ndds.config.LogPrintFormat.NDDS_CONFIG_LOG_PRINT_FORMAT_DEFAULT.

Categories
Mutable, Logging, Debuggability

◆ output_file

String output_file

<<basic>> <<extension>> Specifies the file to which log messages will be redirected to.

If the value of ouput_file is set to NULL, log messages will sent to standard output.

If com.rti.dds.infrastructure.LoggingQosPolicy.max_bytes_per_file is not com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED, this is used as the file name preffix for a set of numbered files.

[default] NULL

See also
com.rti.ndds.config.Logger.set_output_file_name
com.rti.ndds.config.Logger.set_output_file_set
Categories
Mutable, Logging, Debuggability

◆ output_file_suffix

String output_file_suffix

<<basic>> <<extension>> Sets the file suffix when logging to a set of files

Note
This field only applies when idref_LoggingQosPolicy_max_bytes_per_file is different than com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED.

It specifies the suffix to use for the set of files used to redirect the logging output. The preffix is com.rti.dds.infrastructure.LoggingQosPolicy.output_file.

[default] NULL

[default] No suffix

See also
com.rti.ndds.config.Logger.set_output_file_set
Categories
Mutable, Logging, Debuggability

◆ max_bytes_per_file

int max_bytes_per_file

<<extension>> Specifies the maximum number of bytes a single file can contain

When this field is different than com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED, it enables logging to separate files as they reach this size.

[default] com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED (a single file is used)

See also
com.rti.ndds.config.Logger.set_output_file_set
Categories
Mutable, Logging, Debuggability, Middleware Memory Management

◆ max_files

int max_files

<<extension>> Specifies the maximum number of files to create before overwritting the previous ones.

Note
This field only applies when idref_LoggingQosPolicy_max_bytes_per_file is differenet than com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED.

When this field is different than com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED, and the number of files reaches this number, future logging messages overwrite the previously created files.

[default] com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED (files aren't overwritten)

See also
com.rti.ndds.config.Logger.set_output_file_set
Categories
Mutable, Logging, Debuggability, Middleware Memory Management