• Resolved abazeed

    (@abazeed)


    Hi,

    Is there any way to stop creating the log files that are stored here:

    /wp-content/plugins/seriously-simple-podcasting/log/ssp.log.**-**-**.txt

    It keeps increasing and that may affect the storage space on the server.

    Either to have an option to enable/disable the logs, or have a corn job that cleans the log files older than a certain period.

    Best Regards,

    • This topic was modified 1 year, 8 months ago by abazeed.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi @abazeed!

    Sure, actually it should not store any logs by default.

    Please check your wp-config.php file for something like this:

    define( 'SSP_DEBUG', true );

    And just remove that string.

    Best regards,

    Sergiy, development team.

    Thread Starter abazeed

    (@abazeed)

    Thank you @zahardoc!

    I think it’s because we have the Seriously Simple Administration plugin activated, that’s why this constant is true by default:

    
    // wp-content/plugins/seriously-simple-administration/seriously-simple-administration.php:36
    if ( ! defined( 'SSP_DEBUG' ) ) {
        define( 'SSP_DEBUG', true );
    }
    

    I think I have to add this line to wp-config to override it:

    
    define( 'SSP_DEBUG', false );
    
    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi @abazeed,

    I’m glad you’ve found the reason. I believe it’s better to just disable the SSA plugin, it’s needed only for debugging and fixing issues.

    Best regards,
    Sergiy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Have an option to disable/clean logs’ is closed to new replies.