Message format must contain meaningful tokens

Created on 18 June 2024, 10 months ago
Updated 4 August 2024, 8 months ago

Problem/Motivation

The message format is configurable via the logging and error setting form (/admin/config/development/logging). If the format is misconfigured or even deleted (empty value), the module won't work with syslog or stdout.

Steps to reproduce

  1. Login as an admin user.
  2. Go to the logging and error setting form (/admin/config/development/logging)
  3. Empty the 'Events Log Track format' field.
  4. Save the form
  5. From now on, there will be nothing in an event log.

Proposed resolution

Make the 'Events Log Track format' field mandatory and also check if the message format contain required tokens (event-log:*) before inserting a log.

User interface changes

'Events Log Track format' field is changed to mandatory.

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Fixed

Version

4.0

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