11Configuration
2- =======================
2+ =============
3+
34Simple configuration of bundle:
4- .. code-block :: php
5- symfony_rollbar:
6- rollbar:
7- access_token: 'some-secret-token-here'
8- environment: '%kernel.environment%'
95
6+ .. code-block :: yaml
7+
8+ symfony_rollbar :
9+ enable : true
10+ rollbar :
11+ access_token : ' some-secret-token-here'
12+ environment : ' %kernel.environment%'
13+ agent_log_location : ' %kernel.logs_dir%/rollbar.log'
14+ allow_exec : true
15+ endpoint : ' https://api.rollbar.com/api/1/'
16+ base_api_url : ' https://api.rollbar.com/api/1/'
17+ branch : ' master'
18+ capture_error_stacktraces : true
19+ checkIgnore : null
20+ code_version : ' '
21+ enable_utf8_sanitization' : true
22+ environment : ' production'
23+ custom : []
24+ error_sample_rates : []
25+ exception_sample_rates : []
26+ fluent_host : ' 127.0.0.1'
27+ fluent_port : 24224
28+ fluent_tag : ' rollbar'
29+ handler : ' blocking'
30+ host : null
31+ include_error_code_context : false
32+ include_exception_code_context : false
33+ included_errno : E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR
34+ logger : null
35+ person : []
36+ person_fn : null
37+ root : ' %kernel.root_dir%'
38+ scrub_fields : ['passwd', 'password', 'secret', 'confirm_password', 'password_confirmation', 'auth_token', 'csrf_token']
39+ scrub_whitelist : null
40+ shift_function' : true
41+ timeout : 3
42+ report_suppressed : false
43+ use_error_reporting : false
44+ proxy : null
45+ send_message_trace : false
46+ include_raw_request_body : false
47+ local_vars_dump : false
1048
1149 Bundle configuration
12- ---------------------------
13- ####
50+ --------------------
51+
1452``enable ``: It's possible to enable or disable handling of errors and exceptions. Default: ``true ``
1553
16- ``rollbar `` - configuration parameters for Rollbar instance. Full list of options can be found
54+ ``rollbar ``: Configuration parameters for Rollbar instance. Full list of options can be found
1755in `official documentation `_ for Rollbar PHP lib.
1856
19- #### RollBar settings
20- Here you can find a list of some configuration options for RollBar.
57+ .. _`official documentation` : https://rollbar.com/docs/notifier/rollbar-php/
58+
59+ RollBar settings
60+ --------------------
61+
62+ Here you can description of some important configuration options for RollBar.
2163
2264``access_token ``: Your project access token.
2365
@@ -26,8 +68,3 @@ Here you can find a list of some configuration options for RollBar.
2668``environment ``: Environment name, e.g. 'production' or 'development'. Default: ``production ``
2769
2870``root ``: Path to your project's root dir. Default ``%kernel.root_dir% ``
29-
30- More configuration details can be found in `DependencyInjection/Configuration.php `_ file.
31-
32- .. _`official documentation` : https://rollbar.com/docs/notifier/rollbar-php/
33- .. _`DependencyInjection/Configuration.php` : https://github.com/OxCom/symfony3-rollbar-bundle/blob/master/DependencyInjection/Configuration.php
0 commit comments