Starter logs and logrotate
|
|
---|---|
Hi, We wanted to configure logrotate for our device servers logs and we found that we couldn't because the file handle is somehow lost when rotating the logs. We have seen a FileHandler.reopen() method but we are not sure about how to use it from Starter or Device Servers. https://tango-controls.readthedocs.io/en/9.2.5/cpp-api/index.html#_CPPv2N9log4tango12FileAppender6reopenEv Is anyone there using logrotate with tango devices logs? Did you experienced the same problem? Sergi |