Menu

Log rotation

Help
Anonymous
2004-09-09
2022-09-23
  • Anonymous

    Anonymous - 2004-09-09

    when i restart bandwidthd at midnight, the logs dont rotate.  is this a known issue? is this an easy fix?

    i wrote a quick and dirty php script to run at midnight and kill the process, rotate the log files and restart it. seems to work, but we will see after a few days.

     
    • David R Hinkle

      David R Hinkle - 2005-01-03

      Actually you "HUP" it to rotate logs, not kill it.  After a HUP it will rotate the logs in a few minutes, but it only rotates the daily logs.   The new version in CVS rotates all logs, but it only rotaes the weekly logs every few days, monthly every few weeks, and yearly every few months.

      Thankyou for using bandwidthd,
      David

       
  • Carl Foreman

    Carl Foreman - 2011-02-05

    I'd like to know this too - I was watching the logs while it passed through midnight, and it was still logging to the same day :(

     
  • mstudio

    mstudio - 2022-09-23
     

    Last edit: mstudio 2022-09-24

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.