Log path for cli actions

Created on 29 November 2023, 10 months ago

Problem/Motivation

Since 3.1.9, this module introduced a new setting to allow logging cli actions.
See
πŸ“Œ Add form setting to log cli changes Fixed
#3205398: Allow log entries also on CLI operations β†’

The path of a cli action is an empty string '', which is confusing. It would be better if it changed to 'cli' to indicate that action is conducted via CLI.

Steps to reproduce

  1. Enable Events log track UI module.
  2. Enable Events log config module.
  3. Run a drush command to turn on the CLI logging.

       drush config:set event_log_track.settings log_cli true
      
  4. Go to the logs overview page.
  5. The log for the DRush command from step 3 is logged, but the path of that log is ''.

Proposed resolution

Use 'cli' to instead of the empty path '' for a CLI action log.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
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