How to switch to hourly logs..?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crmtesting
    Junior Member
    • Oct 2024
    • 21

    How to switch to hourly logs..?

    My Espocrm crashed a few days ago because there was no space left... it created 71 GB logs on 17th for some reason. I didn't get to know about it and the server crashed on 25th december. had a bad christmas.
    It was not possible to download 71GB and and I thought it might not happen again. I just tail on the logs and there were some warnings, so I ignored it and carried on with the holidays.
    This happened again today and new year mood was ruined. within a span of 4 hours there were 75GB of logs, no space left and the server crashed. Had to delete the log again to bring the site up. It would be better if I could have hourly logs.. that way I can atleast have some logs to inspect what's going wrong.

  • crmtesting
    Junior Member
    • Oct 2024
    • 21

    #2
    Please help with this.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8510

      #3
      I should stop developing software to not to ruin people's Christmas and New years.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8510

        #4
        You can decrease the max file number: https://github.com/espocrm/espocrm/b...config.php#L84

        You can implement a custom log handler or use any existing Monolog handler.

        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...