yuuvis® RAD Q&A

0 votes
by (2.4k points)

Dear OS Team,

how can we change the rolling policy of services.log?

In production environments the services.log of the last 4 days is not enough for analyzing bugs. Older logs get automatically deleted.

Thank you

1 Answer

+2 votes
by (13.5k points)
selected by
Best answer

Hello Dennis,

please edit the file <service-manager>\config\servicewatcher-sw.yml. Right at the top you'll the section "logging" where you can add the following two lines with your desired values:
maxDays: 10
totalSizeCap: 3GB

It should look like this (for example):

  file: ./../../logs/services.log
  config: ./config/logback.xml
  maxDays: 10
  totalSizeCap: 3GB

Best regards

Related questions

0 votes
1 answer
asked Aug 1, 2018 by MSpitzer (480 points)
0 votes
1 answer
asked Mar 11, 2019 by Peter Strasser (2.1k points)