Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created March 26, 2020 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/c8eb4f4b46090f746fe11bff9d457079 to your computer and use it in GitHub Desktop.
Save jchristopher/c8eb4f4b46090f746fe11bff9d457079 to your computer and use it in GitHub Desktop.
Change the debug log directory in SearchWP
<?php
// Change the debug log directory in SearchWP.
add_filter( 'searchwp\debug\dir', function( $dir ) {
// NOTE: Make sure permissions are correct for this directory.
return '/var/logs/searchwp-debug-logs';
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment