Home Forums Newsletter Plugin Support Move log directory

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #11947
    holyhope
    Participant

    Hello,

    Default directory for logs is WP_CONTENT_DIR . '/logs/newsletter/'.
    How can i change it ? I just want to write logs in /var/log/wordpress/newsletter/
    I actually rewrite includes/logger.php and main/diagnostic.php some lines to use a custom constant (named NEWSLETTER_LOG_DIR) that i putted in wp-config.php.
    Is there a real method instead of this ?

    Thanks

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.