Allow to choose if logs should be translated or not

Created on 14 January 2017, over 7 years ago
Updated 8 February 2024, 4 months ago

Problem/Motivation

Using dblog leaves records in locales_source with location = 'admin/reports/dblog' that remain there even when the log is cleared. This results in a constantly growing database table.

Proposed resolution

Since logs are stored in native language (usually English) but translated with the UI (See Drupal\dblog\Controller\Dblog::formatMessage and Drupal\dblog\Plugin\views\field::render) we could add an option in dblog settings to show the untranslated version. This would provent to add log messages to locales_source table.

Original report by [djg_tram]

Using watchdog leaves records in locales_source with location = 'admin/reports/dblog' that remain there even when the log is cleared. This results in a constantly growing database table.

✨ Feature request
Status

Postponed

Version

11.0 πŸ”₯

Component
Database LoggingΒ  β†’

Last updated 23 days ago

  • Maintained by
  • πŸ‡¦πŸ‡·Argentina @dagmar
Created by

πŸ‡­πŸ‡ΊHungary djg_tram

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024