Review main Abandoned

62113[FEATURE] Introduce new system_log table

Alexander Schnitzler CR 0 V 0 Normal +176 −2 updated 08/08/22, 14:53

Commit message

When the logging framework has been introduced in TYPO3
6.0 a DatabaseWriter class has been implemented to write
log messages to the database. To achieve this properly the
sys_log table had been enhanced with a couple of new fields.

That led to the issue that the logging framework uses one
half of the sys_log fields while the DataHandler (mostly)
and other classes write log messages to the other half of
sys_log fields, which is chaotic.

To prepare the implementation of monolog into the core,
there is a feature switch now that enables the DatabaseWriter
of the logging framework to log into a new, dedicated database
table called system_log. Additionally, there is a new table
called system_log_exception that stores information about
exceptions that are part of the log context data.

See https://www.php-fig.org/psr/psr-3/#13-context for more
information about exception logging.

Exceptions are stored deduplicated which results in a n:1
relation between system_log and system_log_exception.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 7