Forum Discussion
ERLomboy_27803
Feb 11, 2014Nimbostratus
LTM log file
Suppose I copy the ltm file, Is it safe to delete the LTM log file? Will F5 create a new one?
nitass
Feb 11, 2014Employee
it was not created in my gear after i deleted it until it got rotated (by logrotate). so, if you want to purge the log, i think it may be better to empty log.
e.g.
[root@ve11a:Active:In Sync] config ls -l /var/log/ltm
-rw------- 1 root root 1555 Feb 10 19:58 /var/log/ltm
[root@ve11a:Active:In Sync] config cat > /var/log/ltm
[root@ve11a:Active:In Sync] config
[root@ve11a:Active:In Sync] config ls -l /var/log/ltm
-rw------- 1 root root 0 Feb 10 20:01 /var/log/ltm
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects