Sentry logging support added.
This commit is contained in:
parent
a086eeb286
commit
460cb10d71
|
@ -17,6 +17,7 @@ class AppKernel extends Kernel
|
||||||
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
|
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
|
||||||
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
|
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
|
||||||
new DT\Bundle\GeshiBundle\DTGeshiBundle(),
|
new DT\Bundle\GeshiBundle\DTGeshiBundle(),
|
||||||
|
new Sentry\SentryBundle\SentryBundle(),
|
||||||
new Skobkin\Bundle\CopyPasteBundle\SkobkinCopyPasteBundle(),
|
new Skobkin\Bundle\CopyPasteBundle\SkobkinCopyPasteBundle(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,9 @@ sensio_framework_extra:
|
||||||
router:
|
router:
|
||||||
annotations: false
|
annotations: false
|
||||||
|
|
||||||
|
sentry:
|
||||||
|
dsn: '%sentry_dsn%'
|
||||||
|
|
||||||
# Twig Configuration
|
# Twig Configuration
|
||||||
twig:
|
twig:
|
||||||
debug: "%kernel.debug%"
|
debug: "%kernel.debug%"
|
||||||
|
|
|
@ -14,4 +14,5 @@ parameters:
|
||||||
# A secret key that's used to generate certain security-related tokens
|
# A secret key that's used to generate certain security-related tokens
|
||||||
secret: ThisTokenIsNotSoSecretChangeIt
|
secret: ThisTokenIsNotSoSecretChangeIt
|
||||||
|
|
||||||
|
# Sentry logging
|
||||||
|
sentry_dsn: ~
|
|
@ -10,18 +10,19 @@
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.1.0",
|
"php": ">=7.1.0",
|
||||||
"symfony/symfony": "^3.4",
|
"doctrine/annotations": "^1.3",
|
||||||
"doctrine/orm": "^2.5",
|
|
||||||
"doctrine/doctrine-bundle": "^1.4",
|
"doctrine/doctrine-bundle": "^1.4",
|
||||||
"symfony/monolog-bundle": "^3.1",
|
"doctrine/doctrine-fixtures-bundle": "^2.2",
|
||||||
|
"doctrine/doctrine-migrations-bundle": "^2.0",
|
||||||
|
"doctrine/orm": "^2.5",
|
||||||
|
"incenteev/composer-parameter-handler": "^2.0",
|
||||||
"sensio/distribution-bundle": "^5.0",
|
"sensio/distribution-bundle": "^5.0",
|
||||||
"sensio/framework-extra-bundle": "^3.0.2",
|
"sensio/framework-extra-bundle": "^3.0.2",
|
||||||
"incenteev/composer-parameter-handler": "^2.0",
|
"sentry/sentry-symfony": "^2.2",
|
||||||
"doctrine/doctrine-fixtures-bundle": "^2.2",
|
"symfony/monolog-bundle": "^3.1",
|
||||||
|
"symfony/symfony": "^3.4",
|
||||||
"theodordiaconu/geshi": "dev-master",
|
"theodordiaconu/geshi": "dev-master",
|
||||||
"theodordiaconu/geshi-bundle" : "dev-master",
|
"theodordiaconu/geshi-bundle": "dev-master"
|
||||||
"doctrine/doctrine-migrations-bundle": "^2.0",
|
|
||||||
"doctrine/annotations": "^1.3"
|
|
||||||
},"require-dev": {
|
},"require-dev": {
|
||||||
"symfony/web-server-bundle": "^3.4"
|
"symfony/web-server-bundle": "^3.4"
|
||||||
},
|
},
|
||||||
|
|
188
composer.lock
generated
188
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "dbd7fba6087be4cdbef515a94ab5b0b0",
|
"content-hash": "42a2feb6a87d88f529bf2827bf08c2df",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "composer/ca-bundle",
|
"name": "composer/ca-bundle",
|
||||||
|
@ -1518,6 +1518,57 @@
|
||||||
],
|
],
|
||||||
"time": "2014-01-12T16:20:24+00:00"
|
"time": "2014-01-12T16:20:24+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "jean85/pretty-package-versions",
|
||||||
|
"version": "1.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Jean85/pretty-package-versions.git",
|
||||||
|
"reference": "75c7effcf3f77501d0e0caa75111aff4daa0dd48"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/75c7effcf3f77501d0e0caa75111aff4daa0dd48",
|
||||||
|
"reference": "75c7effcf3f77501d0e0caa75111aff4daa0dd48",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ocramius/package-versions": "^1.2.0",
|
||||||
|
"php": "^7.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^6.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Jean85\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Alessandro Lai",
|
||||||
|
"email": "alessandro.lai85@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A wrapper for ocramius/package-versions to get pretty versions strings",
|
||||||
|
"keywords": [
|
||||||
|
"composer",
|
||||||
|
"package",
|
||||||
|
"release",
|
||||||
|
"versions"
|
||||||
|
],
|
||||||
|
"time": "2018-06-13T13:22:40+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "monolog/monolog",
|
"name": "monolog/monolog",
|
||||||
"version": "1.24.0",
|
"version": "1.24.0",
|
||||||
|
@ -2166,6 +2217,139 @@
|
||||||
"description": "A security checker for your composer.lock",
|
"description": "A security checker for your composer.lock",
|
||||||
"time": "2018-12-19T17:14:59+00:00"
|
"time": "2018-12-19T17:14:59+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "sentry/sentry",
|
||||||
|
"version": "1.10.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/getsentry/sentry-php.git",
|
||||||
|
"reference": "b2b8ffe1560b9fb0110b02993594a4b04a511959"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/getsentry/sentry-php/zipball/b2b8ffe1560b9fb0110b02993594a4b04a511959",
|
||||||
|
"reference": "b2b8ffe1560b9fb0110b02993594a4b04a511959",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-curl": "*",
|
||||||
|
"php": "^5.3|^7.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"raven/raven": "*"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"friendsofphp/php-cs-fixer": "^1.8.0",
|
||||||
|
"monolog/monolog": "*",
|
||||||
|
"phpunit/phpunit": "^4.8.35 || ^5.7"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"ext-hash": "*",
|
||||||
|
"ext-json": "*",
|
||||||
|
"ext-mbstring": "*",
|
||||||
|
"monolog/monolog": "Automatically capture Monolog events as breadcrumbs"
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"bin/sentry"
|
||||||
|
],
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.10.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Raven_": "lib/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "David Cramer",
|
||||||
|
"email": "dcramer@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A PHP client for Sentry (http://getsentry.com)",
|
||||||
|
"homepage": "http://getsentry.com",
|
||||||
|
"keywords": [
|
||||||
|
"log",
|
||||||
|
"logging"
|
||||||
|
],
|
||||||
|
"time": "2018-11-09T12:27:19+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sentry/sentry-symfony",
|
||||||
|
"version": "2.2.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/getsentry/sentry-symfony.git",
|
||||||
|
"reference": "b36df3632e944d49d81599410a5c85edff2972a9"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/getsentry/sentry-symfony/zipball/b36df3632e944d49d81599410a5c85edff2972a9",
|
||||||
|
"reference": "b36df3632e944d49d81599410a5c85edff2972a9",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"jean85/pretty-package-versions": "^1.0",
|
||||||
|
"php": "^7.1",
|
||||||
|
"sentry/sentry": "^1.9",
|
||||||
|
"symfony/config": "^3.0||^4.0",
|
||||||
|
"symfony/console": "^3.3||^4.0",
|
||||||
|
"symfony/dependency-injection": "^3.0||^4.0",
|
||||||
|
"symfony/event-dispatcher": "^3.0||^4.0",
|
||||||
|
"symfony/http-kernel": "^3.0||^4.0",
|
||||||
|
"symfony/security-core": "^3.0||^4.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"friendsofphp/php-cs-fixer": "^2.8",
|
||||||
|
"phpstan/phpstan": "^0.10",
|
||||||
|
"phpstan/phpstan-phpunit": "^0.10",
|
||||||
|
"phpunit/phpunit": "^7",
|
||||||
|
"scrutinizer/ocular": "^1.4",
|
||||||
|
"symfony/expression-language": "^3.0||^4.0"
|
||||||
|
},
|
||||||
|
"type": "symfony-bundle",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"master": "2.1.x-dev",
|
||||||
|
"releases/1.x": "1.1.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Sentry\\SentryBundle\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "David Cramer",
|
||||||
|
"email": "dcramer@gmail.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Alessandro Lai",
|
||||||
|
"email": "alessandro.lai85@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Symfony integration for Sentry (http://getsentry.com)",
|
||||||
|
"homepage": "http://getsentry.com",
|
||||||
|
"keywords": [
|
||||||
|
"errors",
|
||||||
|
"logging",
|
||||||
|
"sentry",
|
||||||
|
"symfony"
|
||||||
|
],
|
||||||
|
"time": "2019-01-05T13:33:24+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/monolog-bundle",
|
"name": "symfony/monolog-bundle",
|
||||||
"version": "v3.3.1",
|
"version": "v3.3.1",
|
||||||
|
@ -3047,7 +3231,7 @@
|
||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": ">=5.5.9"
|
"php": ">=7.1.0"
|
||||||
},
|
},
|
||||||
"platform-dev": []
|
"platform-dev": []
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue