Hello,
I am using shinyproxy as a docker container being orchestrated by kubernetes. Currently, i have the logs saving to a persistent volume. What I am seeing is only the latest 4 zipped logs are being saved. It seems that shinyproxy is overwriting or deleting old logs as new ones zip. Is there a way to set how many logs to keep? I would like to keep at least a full month
Hi
ShinyProxy uses Srping under the hood. You can configure the logging options of this framework to your wishes. See this page https://docs.spring.io/spring-boot/docs/2.3.11.RELEASE/reference/html/spring-boot-features.html#boot-features-custom-log-configuration
For example, I think you can configure the logging.file.max-history
property to specify the maximum amount of log files that ShinyProxy should keep. You thus could try something like:
logging:
file:
name: shinyproxy.log
max-history: 10000
Can you let us know whether this works?