Debugging log rotation

Discussion in 'General' started by zabersoft, Apr 15, 2016.

  1. zabersoft

    zabersoft Member

    Hi All,

    This might be related to my issue I just posted here:
    https://www.howtoforge.com/communit...ynch-logs-from-var-log-ispconfig-httpd.72805/

    Anyway, I have noticed that ISPconfig does not rotate my logs on my migrated system (migrated as in, I moved an existing ISPconfig installation to a new server). I have gathered from other posts that the cron_daily.php script is responsible for this, but I have not been succesfull in debugging this issue. So my questions are:
    1. Got any immediate ideas, as to why my logs are not being rotated? Is it related to my other logfile issue?
    2. How can I "easily" debug what cron_daily.php is doing? Set debug level in ISPConfig settings to something high and then manually execute the script?

    Thanks!! :O)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. Thats the same issue. You missed to migrate the bind mount lines.
     
  3. zabersoft

    zabersoft Member

    Fantastic - All is well on the logfile front now :O)

    Thanks again for your input Till.
     

Share This Page