Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

added the new collect flag for the profiler#2565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 1 commit intosymfony:masterfromfabpot:profiler-activation
May 4, 2013
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
added the new collect flag for the profiler
  • Loading branch information
@fabpot
fabpot committedApr 26, 2013
commit450cecda904a14499fa6691b171a7a431e6733d8
18 changes: 18 additions & 0 deletionsreference/configuration/framework.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,6 +41,8 @@ Configuration
* `assets_base_urls`_
* `assets_version`_
* `assets_version_format`_
* `profiler`_
* `collect`_

secret
~~~~~~
Expand DownExpand Up@@ -398,6 +400,21 @@ would be ``/images/logo.png?version=5``.
The latter option is useful if you would like older asset versions to remain
accessible at their original URL.

profiler
~~~~~~~~

collect
.......

**default**: ``true``

This option configures the way the profiler behaves when it is enabled. If set
to ``true``, the profiler collects data for all requests. If you want to only
collect information on-demand, you can set the ``collect`` flag to ``false``
and activate the data collects by hand::

$profiler->enable();

Full Default Configuration
--------------------------

Expand DownExpand Up@@ -432,6 +449,7 @@ Full Default Configuration
# profiler configuration
profiler:
enabled: false
collect: true
only_exceptions: false
only_master_requests: false
dsn: file:%kernel.cache_dir%/profiler
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp