Unable to write logs | WordPress.org

[ad_1]

Hello,

I’ve attempted to configure this plugin on my Dreamhost WP site but am not seeing any log file activity after following the instructions.

Line 115/116 of my wp-config (sanitized):

/** Sets logging directory up for Jeepers Peepers syslog plugin */

define('BLOBAUDIT_LOG_PATH', '/wp-log/jeepers-peepers-wp-syslog.log');

Note, I also tried the full path with /home/$user/$site to the same effect.

The only thing showing up in my debug.log after enabling logging:

PHP Notice: Constant BLOBAUDIT_LOG_PATH already defined in /home/$user/$website/wp-config.php on line 116

In the wp-log directory, there’s no file being generated with this config in place. I’ve verified:

  • Log directory permissions are read/write for the same user correlated to the WP install
  • Log directory is located in the same folder as wp-config file (and locked down via .htaccess)
  • PHP is 7.4
  • WP is 6.1.1
  • Linux/Apache host
  • Single site (shared hosting though, not sure if that is the same for this context)

I wasn’t sure about open_basedir being configured for my PHP, and I picked a location within the writable web root structure hoping to avoid permissions issues related to the hosting environment.

Any ideas or tips?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer