Open hfloyd opened 8 months ago
Hi @hfloyd, Thank you for bringing to our attention the issue regarding the CMS error log in Umbraco v9+.
I'd like to clarify that this behavior is actually by design, stemming from a significant change introduced with Umbraco version 9. In previous versions like v8, the system was configured to store logs in the customer's database. This approach, however, had its drawbacks and was not ideal for various technical reasons.
With the launch of v9, we shifted to a more efficient method, replacing the old log provider configuration with a serialized log file system. This new system does not store logs in the database as before. Implementing the old system would require an additional CMS plugin specifically for this feature, which we decided against in favor of a more streamlined approach.
We are treating this as a feature request and will consider reintroducing this functionality in a future update, possibly in a more refined and context-aware manner than a direct copy of the back-office log.
Thanks for the clarification, @sajumb . I do recall the issues even on v7/8 sites with the DB error log getting too big at times. Some additional thoughts:
My personal preference would be a serilog viewer, with "last settings" saved as the next use defaults. That way I can be specific about what I'm looking for, but not be inconvenienced by having to set the conditions each time.
Issue description
On v9+ sites the "Error Log" in the Portal is always empty - regardless of actual errors shown in the back-office Log Viewer
Portal:
Back-Office: