---
title: "Deprecation: #83121 - Logging method DataHandler->newlog2()"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-83121"
source: "Changelog/9.0/Deprecation-83121-LoggingMethodDataHandler-newlog2.rst"
typo3-version: "9.0"
typo3-major: 9
type: "deprecation"
issue: 83121
forge: "https://forge.typo3.org/issues/83121"
tags: ["PHP-API", "Backend", "FullyScanned"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #83121 - Logging method DataHandler->newlog2() {#deprecation-83121}

See [forge#83121](https://forge.typo3.org/issues/83121)

## Description {#description}

The PHP method `DataHandler->newlog2()` within DataHandler, TYPO3's core persistence API,
has been marked as deprecated.

## Impact {#impact}

Calling this method in PHP will trigger a deprecation warning.

## Affected Installations {#affected-installations}

Custom extensions calling DataHandler and using the method above directly in PHP.

## Migration {#migration}

Use DataHandlers' `log()` functionality or the TYPO3 Logging API for logging.
