Closed GRyall closed 1 month ago
I had previously added support for passing file names through strftime(), and i have confirmed that sending SIGUSR2
as per https://www.conserver.com/docs/conserver.man.html will create a new log file with a new date. This signal can be sent via C:\Instrument\Apps\EPICS\tools\master\cygwin\bin\kill.exe -USR2 <pid>
but it is probably better if we could raise this signal / trigger this action inside the program automatically every day. So maybe a thread that periodically wakes up and compares the current day to what the day was when it last woke up, and if they are different sends a USR2 signal to the current process.
As a developer I would like the conserver log to start a new log file each day, matching our other logs.
Acceptance Criteria
Extra Information
This will enable #8363
How to Test
time in planning 01:44 23/5/24