on 08-01-2018 10:01 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK i told our Sysadmin to disable all the traces on server side. Now the uploaded Logfile contains only the message i logged!
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.