cancel
Showing results for 
Search instead for 
Did you mean: 

how to reduce the non-useful commerce log to save the space?

terry007
Advisor
Advisor

hi all,

We want the logs to be kept on kibana for about 2 months. But so far we have found that there are many native logs or we don't know what logs take up too much space.

we have followed the best practice to take some actions like below:

Reduce Logging Level to warn

and we found the access-log takes over 50% of the total log volume, and it's helpless for customer, do you happen to know how to disable the log print.

BR

Terry

View Entire Topic
samuelyang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Terry,

I don't think disabling access logging would be a good idea, we need it for various reasons like analysis, security and trouble shooting etc.

But if you're pretty sure, maybe you can disable it from the Tomcat configuration file.

Just comment out the following valve in the server.xml file, in the Engine tag.

A better solution would be turning off application logging for hybris packages, or switching the logging level to error for system packages.

And if budget allows, you can purchase SAP Commerce Cloud Extended (Additional) Logging Plan, SKU 8015120.

terry007
Advisor
Advisor
0 Kudos

sure, Samuel, many thanks for your suggestion, we are taking a look to try the method you provided.