Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If Event Log Track module and its sub modules are included in a Drupal installation profile and is installed during Drupal installation, there are a lots of logs will be generated during the installation process. It only happens to a Drupal installation via a browser. Installing a Drupal profile via Drush won't have this problem.
Steps to reproduce
- Add Event Log Track module and its sub modules into a installation profile as the dependency of the profile.
- Install a brand new Drupal site using the profile via a browser.
- After installing is done, go to the logs overview page. There are a lots of logs created already in the brand new site.
Proposed resolution
Use InstallerKernel::installationAttempted to avoid logs during Drupal installation.
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork events_log_track-3340422
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
MingsongComment #4
MingsongComment #5
smustgrave CreditAttribution: smustgrave at Mobomo commentedSeems fine enough. Thanks