Skip to content

phpmike/MvErrorLogBundle

Repository files navigation

MvErrorLogBundle

Bundle for Symfony2 >=2.8 and Symfony 3 that log app errors in db. (Symfony <= 2.7, see 1.x) This doesn't log HTTP exceptions and Access denied exceptions. This was made only for bug tracking. You will have trace and same precisions than dev mode in your log.

SensioLabsInsight

Total Downloads

Latest Stable Version

INSTALLATION with COMPOSER

php composer.phar require mv/error-log-bundle:"2.0"

###1) Add to your AppKernel.php

new Mv\ErrorLogBundle\MvErrorLogBundle(),

###2) Add to config.yml

imports:
    - { resource: "@MvErrorLogBundle/Resources/config/config.yml" }

Be carrefull, may be you have already the "imports" key

###3) Update Database

ex:

app/console doctrine:schema:update

or to have dump sql:

app/console doctrine:schema:update --dump-sql

###4) Ready to log app errors

Your app errors are logged in table mv_error_log

Enjoy...

To be continued

About

Symfony2 bundle for error logging into database

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages