CLI log setting is ignored by event_log_track_syslog submodule.

Created on 29 November 2023, 10 months ago

Problem/Motivation

There is a hard-code logic at line 120 in EventLog.php, see
https://git.drupalcode.org/project/events_log_track/-/blob/3.1.9/modules...

That makes the new setting introduced by πŸ“Œ Add form setting to log cli changes Fixed won't work for a Syslog.

Steps to reproduce

  1. Enable Event log track UI module.
  2. Enable Event log track Syslog module.
  3. Run a drush command to turn on the CLI log and clear the cache

         drush config:set event_log_track.settings log_cli true
         drush cr
      
  4. Go to Syslog to check if there is a log for the Drush commands above.
  5. Due to the bug, there is no log in Syslog.

Proposed resolution

Remove the hard-code logic.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

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

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024