But /home/miner is located on disk so you can specify logs to write there and they will be preserved.
We do not want to have any logs due to usb drives longer life.
Thanks, I will try /root/miner.
Update, I tried the above and the folder miner in the root folder is a simbolic/shortcut link, so it did not work, next I tried /root/miner_org and yes it saves there but upon its return from a crash the log is always 0 kbytes, the log contents are deleted, is there a way a log will remain in that folder or any other folder longer, I mean, for at least 2 restarts or crashes? the log if not set always stays in the miner's folder for example /vat/tmp/miner/phoenixminer-v5.1c but like before the same thing happens, the log or its content is always deleted upon returning from a crash or restart.