Where to host my plugin logs?

Hi there,

I’m rebuilding my own plugin to match the best WordPress practices, and I have a logs feature included.
Right now, the log file is inside my plugin (into the /logs/ folder).

Should I leave it into my plugin folder, or into the /wp-content/uploads/ folder (that’s what one user suggested to me)?
Or maybe should I use the WordPress default log file? In this case, I think this is not very convenient to “mix” Wodpress logs with my plugin logs.

Thanks for your help!

Source link