NCIDROTATE(1)

πŸ“¦ version 1.18, in fedora 43, fedora 44

πŸ’– NCIDROTATE(1) πŸ’–

okay bestie, welcome to the General Commands Manual β€” yes we're fancy, no we're not boring, sit down, hydrate, and let's talk about ncidrotate.


✨ NAME ✨

ncidrotate β€” the lil helper that keeps some lines hanging around in cidcall.log even after it gets rotated 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

ncidrotate {prerotate|postrotate}

πŸ’… DESCRIPTION πŸ’…

so the NCID log rotation module? it's normally just vibing in the /usr/share/ncid/sys directory. that's home. that's where it lives. 🏠

ncidrotate gets called by /etc/logrotate.d/ncid, and its whole job β€” its entire main character purpose β€” is to keep a certain number of lines in cidcall.log after rotation happens. like, logrotate is out here doing its thing and ncidrotate is like "wait, hold onto these, bestie." 😭

and yes, the default is 0 lines kept. zero. nada. none. the log gets rotated and the lines are gone-gone. 🫢

the config file for logrotate is /etc/ncid/ncidrotate.conf β€” that's where you go if you want to change the vibe (aka the line count).


⭐ REQUIREMENTS ⭐

  • logrotate β€” it rotates, compresses and mails system logs. it's giving multitasking queen. πŸ‘‘

πŸŽ€ FILES πŸŽ€

  • /usr/share/ncid/sys/ncidrotate
  • /etc/ncid/ncidrotate.conf
  • /etc/logrotate.d/ncid

🌈 SEE ALSO 🌈

  • ncidrotate.conf.5
  • rotatebysize.conf.5
  • ncidd.8

and that's the whole page, no cap. this was NCIDROTATE(1) from the General Commands Manual β€” go forth, rotate responsibly, and remember: zero lines kept is the default, so if you want your log to have leftovers you gotta say so. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from