Skip to content

Commit 6614c0f

Browse files
committed
app/logs -> var/logs
1 parent b3da3b7 commit 6614c0f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

cookbook/console/logging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ container and use it to do the logging::
6565
}
6666

6767
Depending on the environment in which you run your command (and your logging
68-
setup), you should see the logged entries in ``app/logs/dev.log`` or ``app/logs/prod.log``.
68+
setup), you should see the logged entries in ``var/logs/dev.log`` or ``var/logs/prod.log``.
6969

7070
Enabling automatic Exceptions Logging
7171
-------------------------------------

cookbook/deployment/azure-website.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ directory with at least the following contents:
262262
/app/bootstrap.php.cache
263263
/var/cache/*
264264
/app/config/parameters.yml
265-
/app/logs/*
265+
/var/logs/*
266266
!var/cache/.gitkeep
267-
!app/logs/.gitkeep
267+
!var/logs/.gitkeep
268268
/app/SymfonyRequirements.php
269269
/build/
270270
/vendor/

cookbook/logging/monolog.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ to write the logs (the handlers can be shared).
3939
the logger will log to.
4040

4141
The basic handler is the ``StreamHandler`` which writes logs in a stream
42-
(by default in the ``app/logs/prod.log`` in the prod environment and
43-
``app/logs/dev.log`` in the dev environment).
42+
(by default in the ``var/logs/prod.log`` in the prod environment and
43+
``var/logs/dev.log`` in the dev environment).
4444

4545
Monolog comes also with a powerful built-in handler for the logging in
4646
prod environment: ``FingersCrossedHandler``. It allows you to store the

cookbook/workflow/new_project_svn.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ with these steps:
7575
.. code-block:: bash
7676
7777
$ cd myproject/
78-
$ svn add --depth=empty app var/cache app/logs app/config web
78+
$ svn add --depth=empty app var/cache var/logs app/config web
7979
8080
$ svn propset svn:ignore "vendor" .
8181
$ svn propset svn:ignore "bootstrap*" app/
8282
$ svn propset svn:ignore "parameters.yml" app/config/
8383
$ svn propset svn:ignore "*" var/cache/
84-
$ svn propset svn:ignore "*" app/logs/
84+
$ svn propset svn:ignore "*" var/logs/
8585
8686
$ svn propset svn:ignore "bundles" web
8787
88-
$ svn ci -m "commit basic Symfony ignore list (vendor, app/bootstrap*, app/config/parameters.yml, var/cache/*, app/logs/*, web/bundles)"
88+
$ svn ci -m "commit basic Symfony ignore list (vendor, app/bootstrap*, app/config/parameters.yml, var/cache/*, var/logs/*, web/bundles)"
8989
9090
#. The rest of the files can now be added and committed to the project:
9191

0 commit comments

Comments
 (0)