• Resolved Joe Westcott

    (@redredweb)


    Hi folks, would it be feasible to allow users to set the path for the debug logs?

    Certain website hosts such as Pantheon enforce strict version control for the /wp-content/plugins/ folder, which means that we can’t save logs to this location.

    If we could set the logging path to a location that doesn’t use version control, such as the uploads folder, that would solve the problem.

    Thank you for considering this!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi Joe,

    in the latest version 1.5.3 we added a new filter, which allows you to change the location of you log file (the root of the file path). You can add this custom PHP code to your site and adjust the file path:

    add_filter( 'easy_wp_mail_get_log_file_root_path', function() {
    	return '/Your/path/to/your/site/wp-content/uploads/';
    } );

    But you will still have to create a logs folder in the uploads folder or in whatever folder you decide to change the root path to. In the example above I would have to create the logs folder in /Your/path/to/your/site/wp-content/uploads/ folder.

    Let me know if you’ll have any questions.

    Have a nice day and happy holidays!

Viewing 1 replies (of 1 total)
  • The topic ‘Feature request: Change Easy WP SMTP logs location’ is closed to new replies.