Skip to content

Commit

Permalink
app/logs -> var/logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Nov 28, 2015
1 parent b3da3b7 commit 6614c0f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cookbook/console/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ container and use it to do the logging::
}

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

Enabling automatic Exceptions Logging
-------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions cookbook/deployment/azure-website.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ directory with at least the following contents:
/app/bootstrap.php.cache
/var/cache/*
/app/config/parameters.yml
/app/logs/*
/var/logs/*
!var/cache/.gitkeep
!app/logs/.gitkeep
!var/logs/.gitkeep
/app/SymfonyRequirements.php
/build/
/vendor/
Expand Down
4 changes: 2 additions & 2 deletions cookbook/logging/monolog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ to write the logs (the handlers can be shared).
the logger will log to.

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

Monolog comes also with a powerful built-in handler for the logging in
prod environment: ``FingersCrossedHandler``. It allows you to store the
Expand Down
6 changes: 3 additions & 3 deletions cookbook/workflow/new_project_svn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ with these steps:
.. code-block:: bash
$ cd myproject/
$ svn add --depth=empty app var/cache app/logs app/config web
$ svn add --depth=empty app var/cache var/logs app/config web
$ svn propset svn:ignore "vendor" .
$ svn propset svn:ignore "bootstrap*" app/
$ svn propset svn:ignore "parameters.yml" app/config/
$ svn propset svn:ignore "*" var/cache/
$ svn propset svn:ignore "*" app/logs/
$ svn propset svn:ignore "*" var/logs/
$ svn propset svn:ignore "bundles" web
$ svn ci -m "commit basic Symfony ignore list (vendor, app/bootstrap*, app/config/parameters.yml, var/cache/*, app/logs/*, web/bundles)"
$ svn ci -m "commit basic Symfony ignore list (vendor, app/bootstrap*, app/config/parameters.yml, var/cache/*, var/logs/*, web/bundles)"
#. The rest of the files can now be added and committed to the project:

Expand Down

0 comments on commit 6614c0f

Please sign in to comment.