Community for yuuvis® RAD

0 votes
ago 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

+1 vote
ago by (12.7k points)

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

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)
...