Skip to content

Commit ad9cedd

Browse files
authored
Merge pull request #44 from adriendupuis/fix_log_path
Fix log directory
2 parents 5d6d0be + 94f828e commit ad9cedd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker-compose.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ sed -i '' -e "s/EZ_HTTP_CACHE_VERSION=.*/EZ_HTTP_CACHE_VERSION=$EZ_HTTP_CACHE_VE
1616
docker-compose up --build --detach varnish apache redis mariadb;
1717

1818
# eZ Platform: Cache and Logs Removal
19-
rm -rf var/cache/dev/ var/logs/*.log;
20-
mkdir -p var/cache/dev; touch var/logs/dev.log;
19+
rm -rf var/cache/dev/ var/log/*.log;
20+
mkdir -p var/cache/dev; touch var/log/dev.log;
2121
docker-compose exec apache chown www-data -R var/cache/;
2222
docker-compose exec apache chmod g+w -R var/cache/;
2323

docker/apache/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@ CMD service cron restart && /usr/sbin/apache2ctl restart && /etc/init.d/php7.3-f
9696
-F /var/log/php7.3-fpm.log \
9797
-F /var/log/php7.3-fpm.www.error.log \
9898
-F /var/log/php7.3-fpm.www.access.log \
99-
-F /var/www/ez/var/logs/dev.log \
99+
-F /var/www/ez/var/log/dev.log \
100100
;

0 commit comments

Comments
 (0)