Activity logging in Shopware 6 admin
Background: Why is a log function useful?
In TYPO3, admin users are familiar with the log function, in which all adjustments, errors, logins, etc. by users or the system are recorded and documented in a filterable manner. This makes it much easier to analyze the causes of unexpected errors or inexplicable deviations in content.
Such a logging functionality, especially of user activities, was sorely missed in our Shopware projects. A big problem for us was that Shopware does not distinguish between changes made by real users and API accesses. This inevitably leads to several million log entries sooner or later, even in medium-sized installations with deployed middleware that regularly updates product data. Such a volume of data is confusing, unmanageable in the long run and eventually becomes an acute problem - especially if the information is not stored in log files but the database.
Our solution: Logging extension for administrative events in the backend
Our logging extension for Shopware 6 enables the differentiated recording of activities by real users in the Shopware backend or by the Symfony Console in log files, which can be further processed by analysis tools if required.
Features
- Activities in the extension module are written to the logfile (not to the database!).
- It is differentiated between events by administrators or the Symfony Console.
- Primary activities from the Shopware experience worlds are recorded in the log (the creation, editing and/or deletion of pages, blocks or slots).
- Active language is captured in the log (to detect accidental creation of translation entries).
- Log files can be read into analysis tools and processed further.
The extension is deliberately designed to be open, so that new use cases can be added at any time.
Learn more
In our blog, we report in detail about our new logging extension for Shopware 6: Which problems did we have with other tested extensions for logging and which concrete measures were relevant for us in the development phase? Learn everything from the acute pain point to the first concept to the final implementation and of course interesting facts about all (technical) features in our blog entry about the Showare 6 logging extension.
If you want to know more about this Shopware extension or about our services around the Shopware software, please contact us.
You might also be interested in
Trusted Shops Reviews
Our Shopware 6 extension solves the current weaknesses of the official Trusted Shops extension and plays out product ratings in a performant way.
UTM parameters extension
We have developed a Shopware 6 extension that brings classic UTM parameters into the Shopware world.