From 4274a6d32dd5451b3cbe835e37004d2eb351682b Mon Sep 17 00:00:00 2001 From: Stefan Krnajski Date: Wed, 8 Aug 2018 22:39:04 +0200 Subject: [PATCH] Ignore logs for Symfony4 Source: https://symfony.com/doc/master/logging.html Under Where Logs are Stored, added since Symfony 4.0 --- Symfony.gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Symfony.gitignore b/Symfony.gitignore index d098259f..3dab634c 100644 --- a/Symfony.gitignore +++ b/Symfony.gitignore @@ -15,6 +15,10 @@ !var/logs/.gitkeep !var/sessions/.gitkeep +# Logs (Symfony4) +/var/log/* +!var/log/.gitkeep + # Parameters /app/config/parameters.yml /app/config/parameters.ini