forked from verbb/bugsnag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
52 lines (42 loc) · 1.28 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
/**
* Bugsnag plugin for Craft CMS 3.x
*
* Log Craft errors/exceptions to Bugsnag.
*
* @link https://superbig.co
* @copyright Copyright (c) 2017 Superbig
*/
/**
* Bugsnag config.php
*
* This file exists only as a template for the Bugsnag settings.
* It does nothing on its own.
*
* Don't edit this file, instead copy it to 'craft/config' as 'bugsnag.php'
* and make your changes there to override default settings.
*
* Once copied to 'craft/config', this file will be multi-environment aware as
* well, so you can have different settings groups for each environment, just as
* you do for 'general.php'
*/
return [
// Enable exception logging
'enabled' => true,
// Project Server API key
'serverApiKey' => '',
// Project Browser API key
'browserApiKey' => '',
// Release stage
'releaseStage' => 'production',
// App version
'appVersion' => '',
// Release stages to log exceptions in
'notifyReleaseStages' => [ 'production' ],
// Sensitive attributes to filter out, like 'password'
'filters' => [],
// Metadata to send with every request
'metaData' => [],
// Blacklist certain exception types like 404s
'blacklist' => [],
];