Page tree
Skip to end of metadata
Go to start of metadata

Problem

Needs to add connection related logs to RMI-P4 standalone client, to log only connection related messages.

Keywords

RMI-P4 client connection

Symptoms

Too much p4 logs in standalone environment, when enable traces via property:

-Ddebug=true 

or

-Dp4.client.trace.severity=debug 

Description

You can add JVM arguments when starting the RMI-P4 client to increase only connection related logs.

-Dp4.client.trace.setSeverity=com.sap.engine.services.rmi_p4.connect:info

com.sap.engine.services.rmi_p4.connect is a Location that is used by RMI-P4 client's connection manager, and prints logs that are related to opening new connection, reusing it, etc.

After the ':' in the argument's value set the severity. Possible values are:

"fatal", "error", "warning", "info", "path", "debug", "all"

You can also specify integer values: 100, 200, ... 


To specify output file, use the following property. Example:

-Dp4.client.trace.destination=p4.trc


Where p4.trc is relative or absolute path to file, where RMI-P4 traces will be separated from all other traces. The user, that starts JVM process, shall be able to write in working or specified folder in order to create trace files.

 

  • No labels