Allow overriding formatter used by default monolog.handler service.
remove not needed logger tests
minor #967 remove not needed logger tests (1emming)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

remove not needed logger tests

The `isset` checks on `$app['logger']` make no sense since `Application` always sets the logger (to `null`). Checks for `!empty` would be more safe/complete (altough `!empty && instance_of('LoggerInterface')` would be more ideal in some cases).
Updating the unit tests is more complicated because some code under test depends on classes outside of Silex.
Hacking the `class_exists` function or use `mocking` of classes that do not exists (@see https://github.com/sebastianbergmann/phpunit-mock-objects/issues/12) would effect the whole test suit (as @stof pointed out).

Commits
-------

784a246 remove not needed logger tests
fixed CS
Allowed shared ContextListener for firewalls
feature #964 Allowed shared ContextListener for firewalls (ibrasho)

This PR was squashed before being merged into the 2.0.x-dev branch (closes #964).

Discussion
----------

Allowed shared ContextListener for firewalls

In response to #963.

Checks for a `context` key in the firewall configuration, if it's not there use `name`.

Commits
-------

a56d0fa Allowed shared ContextListener for firewalls
made it easier to replace the translator service with an implementation of TranslatorInterface
fixed switfmailer spool where the event dispatcher as different from the other ones
bug #970 fixed switfmailer spool where the event dispatcher as different from the other ones (fabpot)

This PR was merged into the 1.2 branch.

Discussion
----------

fixed switfmailer spool where the event dispatcher as different from the other ones

see #959

Commits
-------

32a27ca fixed switfmailer spool where the event dispatcher as different from the other ones
feature #968 made it easier to replace the translator service with an implementation of TranslatorInterface (fabpot)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

made it easier to replace the translator service with an implementation of TranslatorInterface

fixes #961

Commits
-------

d7500db made it easier to replace the translator service with an implementation of TranslatorInterface
made the logger more configurable
feature #973 made the logger more configurable (fabpot)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

made the logger more configurable

Made the logger listener more configurable (see #924.)

Commits
-------

1053558 made the logger more configurable
simplified some calls
minor #972 simplified some calls (fabpot)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

simplified some calls

Commits
-------

21d6ff4 simplified some calls
Allow to override the access denied handler
feature #910 Allow to override the access denied handler (DerManoMann)

This PR was squashed before being merged into the 2.0.x-dev branch (closes #910).

Discussion
----------

Allow to override the access denied handler

Allow to override the access denied handler

Commits
-------

8a2f79e Allow to override the access denied handler
fixed locale when changing it on the translator itself
added a simple way to override the Twig environment instance
feature #908 Allow overriding formatter used by default monolog.handler service. (gunnarlium)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

Allow overriding formatter used by default monolog.handler service.

This PR adds a new service, `monolog.formatter`, which is read by the default `monolog.handler` in order to allow easy override of the default formatter to use.

Commits
-------

d77204c Allow overriding formatter used by default monolog.handler service.
bug #975 fixed locale when changing it on the translator itself (fabpot)

This PR was merged into the 1.2 branch.

Discussion
----------

fixed locale when changing it on the translator itself

should fix #887 and #905

Commits
-------

46b0535 fixed locale when changing it on the translator itself