ERP5: fix neo log rotation

neo logs to sqlite databases, not to "append only" files, so we need extra
care when rotation and cannot use the new "copytruncate" approach.

needs erp5!1786

See merge request !1395
16 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed Cloudooo.UnitTest-Master

00:05:39

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:27:51

failed ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:02:13

passed SlapOS-Master.StandaloneDeploymentScriptTest-Debian.Buster

00:28:58

passed SlapOS.Eggs.UnitTest-Master.Python2

00:12:05

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:09

failed SlapOS.SoftwareReleases.IntegrationTest-Master

05:18:42

passed SlapOS.Theia.ResilienceTest-Master-ERP5

07:29:54

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:31:07

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:02:29

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:31:41

passed SlapOS-Master.StandaloneDeploymentScriptTest-Debian.Buster

00:31:43

passed SlapOS.Eggs.UnitTest-Master.Python2

00:22:30

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:56

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:36:54

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:02:56