Hi Jay,
Sorry, i meant wp-discourse.
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?