cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to write and where to see java logs of an Agentry application deployed in cloud(SCP)?

Sudhir_Lenka
Contributor
0 Kudos
434

Hello Team,

We are working on SAP Inventory Manager App-4.3.2.0, which is deployed in cloud(SCP). The application works fine and we are able to connect it with Agentry client.

We want to put some additional logs in the custom java classes to track the execution. We have added the logs in the java class as we do in the SMP but it doesn't write anything in the log file.

Is the process changed in cloud? Or do we need to do any additional settings to enable custom log?

We tried by setting the logging level to INFO and Debug but no luck.

we check logs in the Java application->logging->logs and other logs.

sample code for logging.

		this._log.entry();
		_log.debug("ZGetPurchaseOrdersSteplet");
		_log.debug("inside steplet execute method");
		this._log.exit();

Thanks,

Sudhir.

Accepted Solutions (0)

Answers (1)

Answers (1)

jim_bonczyk
Product and Topic Expert
Product and Topic Expert
0 Kudos

Sudhir,

I reached out and received the following suggestion from the Inventory Manager team:

4.3.2 server was released in 2018 and has an old bug where one of the logging jars was not updated with the others.

Sap note 2690632 can be used to correct this error. I believe this affects ACE only, SMP should work as we use our own logging routines there.

Jim

Sudhir_Lenka
Contributor
0 Kudos

Thank you so much Jim for your help.

I will try and update you.

Thanks,

Sudhir.