I had an issue that required me to unzip the old ltm log files (in var/log), but I just viewed them via a SSH session (never copied them off), however the following day the unzipped log files are gone.
Is it part of the archive process that deletes any unzipped files called ltm? Just wondering if there is anyway to recover them.
apologies -realised my first explaination is as clear as mud. Here are the steps I did:
1) SSH to LTM running 9.4 and go in to the /var/log folder
2) Unzipped the previous days log file :
gzip -d ltm.1.gz
fter viewwing the file forgot to recompress it so ended up leaving the log in /var/log/ (so full path of the file was /var/log/ltm.1 )
3) Came back the following day and the ltm.1 file was missing from the folder and I can’t seem to see it in any of the archives
This happened on two LTM’s so presuing this is by design to keep logs files in order but was wondering if anyone can explain what happened to the log files?
Under normal circumstances I wouldn’t expect the unzipped file to ever be removed. You can try searching for a solution on the logrotate script on AskF5 and/or check the config on your unit for details on log management.