My understanding was that a job keeps writing into the same log file unless “Reset log” is clicked (which would add a timestamp to the current log file name and create and new one with the same job ID).
Log file name is hardcoded to be the same as the job ID. Each job is just an XML file named
<job-id>.xml. The name doesn’t change even if the job was edited, or the server restarted. If a new job is created (even for the same project) then it will get a new ID. But for existing jobs the IDs shouldn’t change no matter what.
Can you please confirm that a log file name changes on a server restart? If yes, it would be a bug.