0

Trying to retain(save) java melody logs as they the /temp gets cleared during container restart.

  1. Have tried relocating the log file location to other location (works fine on local), but on server this doesn't work.
  2. Also tried moving files to another remote location and try to replace them in temp after container restart, server does not pick them up.

1 Answers1

0

Trying to save files within a container is not the way to go if you want to retain your javamelody logs.

Javamelody has a detailed guide on how to setup a centralized server for log retention