• Resolved seetiggergo

    (@seetiggergo)


    FYI… we just had a sever go down. Come to find out, the disk space was maxed out. After investigation, the log files your plugin creates (/wp-content/uploads/wc-logs/hubspot-for-woocommerce-logs.log) were massive! One was 3.14GB and another, on a separate site, was 5.3GB. This needs to be revised to purge these files after a certain size and/or time limit… or an option to disable logging.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MakeWebBetter

    (@makewebbetter)

    Hey,

    I’d like to tell you that you can delete the log file by navigating to WooCommerce Status-> Logs-> HubSpot for WooCommerce Logs.

    It’ll not cause any issue, if you face the same issue once again please follow the steps as suggested above.

    Regards

    Thread Starter seetiggergo

    (@seetiggergo)

    Thanks for the reply. Yes, that is exactly what we did. However, as the plugin developer you should NEVER be letting log files get to that size. They should be purged after a set amount of time or file size, otherwise you run the risk of exactly what happened in our instance… running the disk space out and bringing down a server. Most plugins include some sort of option to enable/disable log files as well as a time limit to keep these log files. I think this would be helpful for future releases to come disabled by default and only enabled if people understand what they are doing.

    Plugin Author MakeWebBetter

    (@makewebbetter)

    Hello @seetiggergo,

    Thank you for your valuable suggestion. We will surely look into this and try to add this feature as well in the future updates of our plugin.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Massive Log Files!’ is closed to new replies.