Task #57574
closed
TceformsUpdateWizard does not tell the user about the log file
Added by Markus Klein over 10 years ago.
Updated almost 7 years ago.
Description
TceformsUpdateWizard generates a log file for failed migrations.
The location of this log file is never revealed to the user.
Path is: /typo3temp/logs/typo3.log
(FileWriter of the Logger)
This is also the case for RteMagicImagesUpdateWizard.
I would say it is not the job of a particular UpdateWizard to tell about the log, but rather the install tool itself.
I'd propose to configure a dedicated log file to cover any logRecord which is triggered inside of typo3/sysext/install:
typo3temp/logs/install-tool.log
What do you think?
Could be added to DefaultConfiguration.php with:
'LOG' => array(
'TYPO3' => array (
'CMS' => array(
'Install' => array(
'writerConfiguration' => array(
\TYPO3\CMS\Core\Log\LogLevel::DEBUG => array(
'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => array(
'logFile' => 'typo3temp/logs/install-tool.log'
),
),
),
),
),
),
),
Then announce this file and the related log configuration at a prominent place in install tool.
What could be a good place for this announcement?
One could argue that adding a random suffix to the filename like deprecation_3f11ecba79.log
I think we should discuss this before.
Steffen, thanks a lot for taking care about this. Your proposal sounds great.
Prominent place would be the overview of the upgrade wizards.
I don't mind the whether we have a file suffix or not.
- Target version changed from next-patchlevel to 7.4 (Backend)
- Category changed from Install Tool to 1601
- Target version changed from 7.4 (Backend) to 7.5
- Target version changed from 7.5 to 7 LTS
- Tracker changed from Bug to Task
- Target version deleted (
7 LTS)
- Status changed from Accepted to Closed
no longer supported ;-)
Another ticket gone, yay
Also available in: Atom
PDF