Forum Discussion
Thong_196816
Nimbostratus
Aug 03, 2015archived logs
Hi,
I read this interesting article, https://support.f5.com/kb/en-us/solutions/public/13000/300/sol13367.html
comparing with my existing default archived log settins..
I have following doub...
Vitaliy_Savrans
Nacreous
Aug 03, 2015Hi,
to check logrotate age:
(tmos) list sys db logrotate.logage
output will be something like this:
sys db logrotate.logage {
value "8"
Logrotate runs on daily basis:
ls /etc/cron.daily/ - there will be logrotate script
Keep logs up to 3 months possible but it depends on size of daily logs files and amount of free space on system disks.
Thong_196816
Nimbostratus
Aug 04, 2015thanks for your time to answer my questions...:)
I had verified, looks like my archived logs shows "8" days but the value are get from which file? is it etc/cron.daily ? i cant find it this value..
1.) what if I wan to verify the size of daily logs? can know what command to use?
2.) if I wan to keep archived log up to 3 months, where is the settings required to change?
3.) if I do the command below, where /sys config saved ?
1.Log in to the Traffic Management Shell (tmsh) by typing the following command:
tmsh
2.Modify the age at which log files are eligible for deletion, by using the following command syntax:
modify /sys db logrotate.logage value
In this command syntax, note the following:&9702;Legal values range from 0 to 100
3.Save the change by typing the following command:
save /sys config
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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