when are they written do SD card finally?
-> It's a systemd script, so the log are written when the service stop
What triggers the writing to SD-Card
-> On a halt, a restart of the service or of the computer
is your script meant to be always holding the logs in Ramdisk, thus losing all logs after a reboot
-> No. You will lose your log only if your machine stop brutally (electricity failure for example)
what happens if your "SIZE=25M" is full with logs
-> it's like a partition for the log software (syslog) , the syslog will stop writting if it's full until your log rotate with logrotate.It's why you need to adapt this value. you can check the size with : df -h
Does Log2Ram delete then the oldest logs according to a rotating principle?
-> It's the job of logrotate, the job of log2ram is to mount a ram folder for your /var/log folder.