Duplicate General-Purpose Logging Area

While developing an addon, I realised there’s currently no suitable place to log routine messages or interactions that don’t qualify as server errors.

I’d like to see this improved by either:
  • Expanding the Server error log to support general-purpose logging (e.g. by categorising log types).
  • Introducing a dedicated general-purpose log that add-ons can easily write to.
This would save developers from needing to build their own logging systems for simple cases.
 
Upvote 3
This suggestion has been closed. Votes are no longer accepted.
I built an addon for exactly this purpose - allows you to create a Monolog log for development purposes, but can also run in production.

Note that by default this will simply create a text-based log file in the internal_data directory - but Monolog can be configured to send information to a bunch of other external systems for more comprehensive log support.


I use this with a few of my own addons.
 
I built an addon for exactly this purpose - allows you to create a Monolog log for development purposes, but can also run in production.

Note that by default this will simply create a text-based log file in the internal_data directory - but Monolog can be configured to send information to a bunch of other external systems for more comprehensive log support.


I use this with a few of my own addons.
That's handy to know thank you, I thought it was weird no one had made anything for this yet.
 
Similar to my suggestion, just didn't know quite how to word "different log types". Threads should be merged so the upvotes are added(?) together.

 
Similar to my suggestion, just didn't know quite how to word "different log types". Threads should be merged so the upvotes are added(?) together.

Ah I hadn't seen this suggestion :D

Yes, I agree with more logging for cron jobs, it would be nice to see a warning or something. 'X cron job has taken x mins to run.' or something along those lines.

This is what I made, and this is how I could see it looking:
1754395279117.webp1754395227730.webp
 
Back
Top Bottom