Die Betrachtung des Deprecations Logs über die Konsole in Echtzeit mithilfe des Kommandos "tail -f" ist oft mühsam, da die Zeilen sehr viele Informationen enthalten und aufgrund der Länge auf den meisten Displays umbrechen. Die Ausgabe kann jedoch sehr leicht so modifiziert werden, dass die wesentlichen Informationen unmittelbar erfasst werden können.

Im folgenden Beispiel wird daher nur der (im Kontext eines Upgrades relevante) Teil einer Zeile extrahiert. Das lässt sich natürlich beliebig anpassen.

Shell Kommandos

# tail + sed
tail -f typo3_deprecations.log | sed 's/\(.*\)TYPO3 Deprecation Notice:/TYPO3 Deprecation Notice:/' | sed 's/in \/html\/typo3\(.*\)$//'

# Alternativ: tail + grep + sed
tail -f typo3_deprecations.log | grep -o 'TYPO3 Deprecation Notice:\(.*\)' | sed 's/in \/html\/typo3\(.*\)$//'

Ausgabe - Vorher

Thu, 06 Aug 2020 15:33:01 +0200 [NOTICE] request="42dc01b0d3f23" component="TYPO3.CMS.deprecations": Core: Error handler (BE): TYPO3 Deprecation Notice: Calling method TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin with argument $extensionName ("Vendor.Extension") containing the vendor name ("Vendor") is deprecated and will stop working in TYPO3 11.0. in /html/typo3/typo3_src-10.4.6/typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php line 63

Ausgabe - Nachher

TYPO3 Deprecation Notice: Calling method TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin with argument $extensionName ("Vendor.Extension") containing the vendor name ("Vendor") is deprecated and will stop working in TYPO3 11.0.