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

  1. Add Event Log Track module and its sub modules into a installation profile as the dependency of the profile.
  2. Install a brand new Drupal site using the profile via a browser.
  3. 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

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Mingsong created an issue. See original summary.

Mingsong’s picture

Status: Active » Needs review
Mingsong’s picture

Issue summary: View changes
smustgrave’s picture

Status: Needs review » Fixed

Seems fine enough. Thanks

  • Mingsong committed a93429be on 3.0.x
    Issue #3340422: Avoid logs during Drupal installation

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.