Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hi!

The knowage_[1]_OperatorTrace.log file has a lot of events (every 10 secons) like that:

'2020-04-17-14-27-15';'10.2.6.25';'dpdr.my.org.corp';'10.2.10.60';'';'';'';'demo_admin';'/demo/admin,';'[Service:/2.0/export/dataset ; Class:class it.eng.spagobi.api.v2.ExportResource ; Method:public java.util.List it.eng.spagobi.api.v2.ExportResource.dataset(boolean) throws java.io.IOException]';'demo_admin';'/knowage/restful-services/2.0/export/dataset';'';'OK';'0';'FIREFOX';'75.0';'WINDOWS_7';27da53dd44fa70250a231c52ce4f9f1d

or

'2020-04-15-12-26-22';'10.2.6.118';'dpdr.my.org.corp';'10.2.10.137';'';'';'';'';'';'[Service:/2.0/export/dataset ; Class:class it.eng.spagobi.api.v2.ExportResource ; Method:public java.util.List it.eng.spagobi.api.v2.ExportResource.dataset(boolean) throws java.io.IOException]';'';'/knowage/restful-services/2.0/export/dataset';'';'ERR (401)';'-1';'CHROME';'58.0.3029.81';'WINDOWS';63055e1d57a29b2edcc8f3b281178fa7

As a result - knowage_[1]_OperatorTrace.log file grows very fast.

Is it possible to reduce the logging?

Environment Knowage 7.1 (7.1.5), Windows 7, Windows server 2012, Firefox 74 (64 & 32)
in General Configuration by (140 points)

Hi vladimirmb,

Take a look at this documentation
https://knowage-suite.readthedocs.io/en/7.1/installation-guide/advanced-configuration.html#logging
You may want to change the level of the logger from DEBUG to ERROR

Hi Marco!

Thank you very much for the very helpful information!

Now I understand the logging system of knowage.

Unfortunately there is no DEBUG level in my log4j.properties files.

I think the problem depends on some Exception:

'10.2.10.137';'';'';'';'';'';'[Service:/2.0/export/dataset ; Class:class it.eng.spagobi.api.v2.ExportResource ; Method:public java.util.List it.eng.spagobi.api.v2.ExportResource.dataset(boolean) throws java.io.IOException]';'';'/knowage/restful-services/2.0/export/dataset';'';'ERR (401)';'-1';'CHROME'

or

'10.2.10.60';'';'';'';'demo_admin';'/demo/admin,';'[Service:/2.0/export/dataset ; Class:class it.eng.spagobi.api.v2.ExportResource ; Method:public java.util.List it.eng.spagobi.api.v2.ExportResource.dataset(boolean) throws java.io.IOException]';'demo_admin';'/knowage/restful-services/2.0/export/dataset';'';'OK';'0';'FIREFOX'

The user '10.2.10.137' does not disconnected from the knowage server. And even after restart the server the Exception remain. The same is with user '10.2.10.60'.

The messages appears in log file every 10 seconds.

How to fix the reason for the Exception?

Best regards

Vladimir

Knowage registers all network activity inside knowage_[1]_OperatorTrace.log file.
There is an event logged each 10s because every 10s knowage performs some web calls.
Application errors instead are logged in a different file called knowage.log.
You can clear the logs if you want but be aware that by doing this you will clear history of what happened during previous executions.

Hi, Marco!

I hope it is possible to rotate the log's?

Best regards

Vladimir
Hi,
unfortunately i don't think it is possible.
Thank you very much, Marco!

Please log in or register to answer this question.

...