cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Kapsel: Logger Plugin / How to change SMP Logfile verbosity?

0 Kudos

Hi,

i am developing an Hybrid-App using the Kapsel-Plugins Logon, Logger and Setttings.

I added the Logger-Plugin and set the LogLevel to ERROR on the client.

( sap.Logger.setLogLevel(sap.Logger.ERROR) )

For testing i am logging an error with the appropiate Logger-Method.

sap.Logger.error('my test error');

The error messages logged on the Client are correctly uploaded to the SMP. I can view the messages in Logs -> Log and Trace.

But there are hundreds of messages in the Logfile which have nothing to do with my logged message on the client. The other messages look like Debug/Info-messages which are added by the SMP.

e.g.

#2.0#2018-08-01 10:27:50 AM#DEBUG#ApplicationsSettings#200#Registration... #2.0#2018-08-01 10:27:50 AM#INFO#ApplicationsSettings#200#Registration...

My client-message appears as the last line of the logfile.

How can i change the verbosity of the logfile?

Is there something like a global-SMP-Configuration which is responsible for these added Debug-messages?

I only want the mesages i log via sap.Logger.error-Function to appear in the Logfile.

My SMP-Application-Configuration looks like this.

Application -> Client Policies -> Log Policy

- Log Upload is enabled

- Log Level is ERROR

- Delete Log After 7 Days

- E2E Trace Level is NONE

Versions:

SMP: 3.0.13.4

Kapsel: 3.0 SP 16

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member276237
Participant
0 Kudos

Have you tried disabling log traces on server side? You can do this by going to Logs -> Log Settings and disabling the traces for the log components that you do not require.

Answers (1)

Answers (1)

0 Kudos

OK i told our Sysadmin to disable all the traces on server side. Now the uploaded Logfile contains only the message i logged!

Thanks