Introduction 

On this page

What does it do? 

DV Logs is a lightweight TYPO3 backend module that provides a simple interface for viewing and managing TYPO3 system log files directly from the backend without SSH access.

Features 

  • Backend module under System > DV Logs
  • Lists all log files from var/log/ with size and creation date
  • Detail view with parsed log entries (datetime, level, message)
  • Supports standard TYPO3 log format and component-based format
  • Displays the last 500 lines in reverse chronological order
  • Delete log files directly from the backend
  • Color-coded log levels (error, warning, info)
  • TYPO3 v12 LTS, v13 LTS, and v14 support
  • Admin-only access

Installation 

On this page

Requirements 

  • PHP 8.2+
  • TYPO3 v12.4 LTS, v13.4 LTS, or v14

Installation via Composer 

composer require davitec/dv-logs
Copied!

The extension is activated automatically in Composer-based installations.

Verification 

After installation, log in as an admin user and navigate to System > DV Logs. The module should appear in the left sidebar.

Configuration 

On this page

No configuration needed 

DV Logs works out of the box. It reads log files from the standard TYPO3 log directory (var/log/).

Access control 

The module is restricted to admin users only. This is configured in Configuration/Backend/Modules.php via 'access' => 'admin'.

Log directory 

The extension reads files from Environment::getVarPath() . '/log/', which is the standard TYPO3 log directory. No custom path configuration is supported — the module always uses the TYPO3 default.

Usage 

Viewing log files 

  1. Log in to the TYPO3 backend as an admin user
  2. Navigate to System > DV Logs
  3. The list view shows all log files with their size and creation date
  4. Click on a log file name to view its contents

Log detail view 

The detail view displays parsed log entries with:

  • Date/Time — when the entry was logged
  • Level — error, warning, info, etc. (color-coded)
  • Message — the log message

The most recent 500 lines are shown in reverse chronological order (newest first).

Supported log formats 

The parser recognizes two TYPO3 log formats:

  1. Standard format: Mon, 19 Aug 2024 14:52:30 +0000 [ERROR] ...
  2. Component format: component="TYPO3.CMS.Core" ... [WARNING] ...

Lines that don't match either format are displayed as plain text.

Deleting log files 

Click the delete button next to a log file in the list view to remove it. This action is immediate and cannot be undone.