Avoid logs during Drupal installation.

Created on 9 February 2023, over 1 year ago

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

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024