ShellHacks
Command-Line Tips and Tricks

logrotate

  • Blog

Logrotate: Force Log Rotation

Posted on November 27, 2017November 27, 2017by admin

Normally, log rotation in Linux is handled by daily cron job. The default configuration file is /etc/logrotate.conf and service or server specific configurations are stored in /etc/logrotate.d directory. Sometimes it needs to force rotation of some files manually. Below you will find how to debug and force logrotate manually.

Read More
2 Comments

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive arduino artifactory bash boot cmd command-line curl dns docker encryption git gitlab helm java jenkins kubernetes linux macos mail mongodb mysql network openssl pdf php powershell prometheus python raspberry pi ssh sublime text systemd telegram telnet text-processing tor tsm windows wordpress yum
  • Telegram
  • Twitter
  • RSS
Privacy
Copyright © 2011-2022 | www.ShellHacks.com