Skip to content

Commit 10c8071

Browse files
oshmyheliukYevhen Miroshnychenko
authored and
Yevhen Miroshnychenko
committed
MAGECLOUD-1701: var/log/cloud.log contain data only about deploy phase for 2.1. (#191)
1 parent 3d0400f commit 10c8071

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Filesystem/DirectoryList.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ public function getWritableDirectories(): array
167167
$writableDirs[] = static::DIR_GENERATED_METADATA;
168168
$writableDirs[] = static::DIR_GENERATED_CODE;
169169
$writableDirs[] = static::DIR_VIEW_PREPROCESSED;
170+
$writableDirs[] = static::DIR_LOG;
170171
} else {
171172
$writableDirs[] = static::DIR_VAR;
172173
}

src/Test/Unit/Filesystem/DirectoryListTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ public function getWritableDirectoriesDataProvider(): array
162162
'var/di',
163163
'var/generation',
164164
'var/view_preprocessed',
165+
'var/log',
165166
'app/etc',
166167
'pub/media',
167168
];

0 commit comments

Comments
 (0)