yuuvis® RAD Q&A

0 votes
by (2.9k 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 (19.6k 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):

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

Best regards
Nicolai

...