OCTO_LOGROTATE(1)
β¨ octo_logrotate(1) β¨
okay so bestie, welcome to the octo_logrotate page π this one lives in the User Contributed Perl Documentation section of your man pages, so you know it's the good stuff. let's get into it π«Ά
πΈ NAME πΈ
octo_logrotate β the Octopussy Logrotate program π
π¦ DESCRIPTION π¦
so like, octo_logrotate does one thing and it does it iconically: it deletes log files that are older than the number of days you defined in your Device configuration. that's it. that's the whole vibe. your logs get their little glow-up retirement party and then they're gone πβ¨
no cap, the day count comes from the Device config, so go check that if you're confused about why your logs keep vanishing.
π FUNCTIONS π
π Get_Directories($dir)
returns a list of Directories from Directory $dir. yes literally just that. it goes in, it looks around, it hands you back the directories it found. main character behavior honestly π
π Get_Logrotate_Limit($service, $type, $conf)
gets the logrotate & limit values for Service $service π§
β Rotate_Logs($device)
deletes Log Files for the specified Device $device. this is the one that actually does the deleting, so like... be aware. it's giving "the fun one at the party who also drives everyone home" ππ₯
π AUTHOR π
Sebastien Thebert <octo.devel@gmail.com> β the icon, the legend, the person who wrote all this π
π SEE ALSO π
go read these next, they're all in the same little family:
octo_dispatcherocto_extractorocto_parserocto_uparserocto_scheduler
iykyk π¦
okay that's the whole page bestie, mwah π this one's running on perl v5.22.2, it's dated 2016-05-04, and it's straight from the User Contributed Perl Documentation crew. periodt. π β¨π
π¦ where this page comes from
- ubuntu jammy: octopussy 1.0.6-0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms