Our uploads folder is in a S3 bucket. The logging feature from Wp Discourse is adding a lot of load to the server, due to the constant writes to the uploads folder.
I need to completely disable the WP Discourse logs, or at least change the path to the log files directory.
Is there a way to customize that with a hook, or maybe defining a variable in wp-config.php?
Those are WordPress logs. So if you want to change them you should do something lke https://www.google.com/search?q=wordpress+limit+log+size&oq=wordpress+limit+log+size.
There could be somewhere here who knows, but that search, especially on Christmas, is likely going to yield faster results.
I donât want to limit the size of the log. I need to change the directory that the plugin uses to save the log files, or completely disable the logging feature.
As i mentioned, our uploads folder is in a S3 bucket, mounted using Rclone. WP Discourse makes constant writes in this âlogs-metafile.txtâ file, and this increases the server load a lot.
I checked the log generator file from WP Discourse, and it fetches the wp_uploads_dir directly, so i donât think thereâs a official way to change the directory, right?