#88256FileWriter creates directories like php: or file: when eg. php://stdout is used a logfile destination
Description
typo3/sysext/core/Classes/Log/Writer/FileWriter.php uses GeneralUtility::mkdir_deep to create probably missing directories for the configured logfile.
When using php://stdout as a logfile destination empty php: directories popup under the web root and under typo3/.
Before creating the directories we have to check for the usage of a [https://www.php.net/manual/en/wrappers.php]
Reviews 4
History 412
-
Gerrit Code Review pushed patch set 1 for master to change 60643 status
NewUnder Review 05/02/19, 14:48 -
Gerrit Code Review pushed patch set 1 for master to change 60645 05/03/19, 07:44
-
Gerrit Code Review pushed patch set 2 for master to change 60643 05/03/19, 07:45
-
Gerrit Code Review pushed patch set 1 for master to change 60646 05/03/19, 08:17
-
Gerrit Code Review pushed patch set 2 for master to change 60646 05/03/19, 08:49
-
Gerrit Code Review pushed patch set 3 for master to change 60646 05/03/19, 09:14
-
Markus Klein commented 05/06/19, 14:03
-
Sven Carstens commented 05/07/19, 15:31
My use-case here is to set logging to php://stdout inside of containers.
-
Gerrit Code Review pushed patch set 4 for master to change 60646 01/12/20, 16:47
-
Gerrit Code Review pushed patch set 1 for 9.5 to change 62898 01/14/20, 14:45
-
Sven Carstens commented and changed status
Under ReviewResolved done0 %100 % 01/14/20, 15:00Applied in changeset commit:ad2ee8ef2cfed2793928d8b8e35553841ebf0496.
-
Benni Mack changed status
ResolvedClosed 02/27/20, 12:42
Can you please describe you use case here as well? I suppose containers?