Artisan Développeur

Qualité, amélioration continue, agilité.

Vagrant debian Stretch 9.4 for Symfony dev

I choose to have a parent directory for my vagrant projects, -p or –parents tells mkdir to create all the needed parent folders.

[pastacode lang= »bash » manual= »mkdir%20-p%20vagrant%2Fmyproject%0Acd%20vagrant%2Fmyproject » message= » » highlight= » » provider= »manual »/]

vagrant init

[pastacode lang= »bash » manual= »vagrant%20init%0AA%20%60Vagrantfile%60%20has%20been%20placed%20in%20this%20directory.%20You%20are%20now%0Aready%20to%20%60vagrant%20up%60%20your%20first%20virtual%20environment!%20Please%20read%0Athe%20comments%20in%20the%20Vagrantfile%20as%20well%20as%20documentation%20on%0A%60vagrantup.com%60%20for%20more%20information%20on%20using%20Vagrant.%0A%0A » message= » » highlight= » » provider= »manual »/]

Edit Vagrantfile:

In the Vagrantfile you have this by default:

[pastacode lang= »bash » manual= »config.vm.box%20%3D%20%22base%22″ message= » » highlight= » » provider= »manual »/]

edit to use the box you choose, I choose this one https://app.vagrantup.com/debian/boxes/stretch64:

info: mainpage of debian boxes https://app.vagrantup.com/debian

[pastacode lang= »bash » manual= »config.vm.box%20%3D%20%22debian%2Fstretch64%22″ message= » » highlight= » » provider= »manual »/]

vagrant up

[pastacode lang= »bash » manual= »vagrant%20up%0A%0ABringing%20machine%20’default’%20up%20with%20’virtualbox’%20provider…%0A%3D%3D%3E%20default%3A%20Box%20’debian%2Fstretch64’%20could%20not%20be%20found.%20Attempting%20to%20find%20and%20install…%0A%20%20%20%20default%3A%20Box%20Provider%3A%20virtualbox%0A%20%20%20%20default%3A%20Box%20Version%3A%20%3E%3D%200%0A%3D%3D%3E%20default%3A%20Loading%20metadata%20for%20box%20’debian%2Fstretch64’%0A%20%20%20%20default%3A%20URL%3A%20https%3A%2F%2Fvagrantcloud.com%2Fdebian%2Fstretch64%0A%3D%3D%3E%20default%3A%20Adding%20box%20’debian%2Fstretch64’%20(v9.4.0)%20for%20provider%3A%20virtualbox%0A%20%20%20%20default%3A%20Downloading%3A%20https%3A%2F%2Fvagrantcloud.com%2Fdebian%2Fboxes%2Fstretch64%2Fversions%2F9.4.0%2Fproviders%2Fvirtualbox.box%0A%3D%3D%3E%20default%3A%20Successfully%20added%20box%20’debian%2Fstretch64’%20(v9.4.0)%20for%20’virtualbox’!%0A%3D%3D%3E%20default%3A%20Importing%20base%20box%20’debian%2Fstretch64’…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Matching%20MAC%20address%20for%20NAT%20networking…%0A%3D%3D%3E%20default%3A%20Checking%20if%20box%20’debian%2Fstretch64’%20is%20up%20to%20date…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Setting%20the%20name%20of%20the%20VM%3A%20myproject_default_1523353141366_70143%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Clearing%20any%20previously%20set%20network%20interfaces…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Preparing%20network%20interfaces%20based%20on%20configuration…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20Adapter%201%3A%20nat%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Forwarding%20ports…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%2022%20(guest)%20%3D%3E%202222%20(host)%20(adapter%201)%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Running%20’pre-boot’%20VM%20customizations…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Booting%20VM…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Waiting%20for%20machine%20to%20boot.%20This%20may%20take%20a%20few%20minutes…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20SSH%20address%3A%20127.0.0.1%3A2222%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20SSH%20username%3A%20vagrant%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20SSH%20auth%20method%3A%20private%20key%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20Vagrant%20insecure%20key%20detected.%20Vagrant%20will%20automatically%20replace%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20this%20with%20a%20newly%20generated%20keypair%20for%20better%20security.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20Inserting%20generated%20public%20key%20within%20guest…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20Removing%20insecure%20key%20from%20the%20guest%20if%20it’s%20present…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20Key%20inserted!%20Disconnecting%20and%20reconnecting%20using%20new%20SSH%20key…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Machine%20booted%20and%20ready!%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Checking%20for%20guest%20additions%20in%20VM…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20No%20guest%20additions%20were%20detected%20on%20the%20base%20box%20for%20this%20VM!%20Guest%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20additions%20are%20required%20for%20forwarded%20ports%2C%20shared%20folders%2C%20host%20only%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20networking%2C%20and%20more.%20If%20SSH%20fails%20on%20this%20machine%2C%20please%20install%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20the%20guest%20additions%20and%20repackage%20the%20box%20to%20continue.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20This%20is%20not%20an%20error%20message%3B%20everything%20may%20continue%20to%20work%20properly%2C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20default%3A%20in%20which%20case%20you%20may%20ignore%20this%20message.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Installing%20rsync%20to%20the%20VM…%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%3D%3D%3E%20default%3A%20Rsyncing%20folder%3A%20%2Fvar%2Fwww%2Fmyfolder%2Fvagrant%2Fmyproject%2F%20%3D%3E%20%2Fvagrant%0A%0A%3D%3D%3E%20default%3A%20Machine%20’default’%20has%20a%20post%20%60vagrant%20up%60%20message.%20This%20is%20a%20message%0A%3D%3D%3E%20default%3A%20from%20the%20creator%20of%20the%20Vagrantfile%2C%20and%20not%20from%20Vagrant%20itself%3A%0A%3D%3D%3E%20default%3A%20%0A%3D%3D%3E%20default%3A%20Vanilla%20Debian%20box.%20See%20https%3A%2F%2Fapp.vagrantup.com%2Fdebian%20for%20help%20and%20bug%20reports » message= » » highlight= » » provider= »manual »/]

  • « vagrant ssh » to log in your new virtual machine
  • « exit » to logout
  • « vagrant destroy » to stop the virtual machine

 

install php 7.1 on debian 9.4

Hi !

Here the solution that has work for me, I found others tutorials but I had to execute a few more step to complete the setup as I want.

First, the repository, thanks to https://deb.sury.org/, the readme file is here https://packages.sury.org/php/README.txt

Based on that:

[pastacode lang= »bash » manual= »wget%20-O%20%2Fetc%2Fapt%2Ftrusted.gpg.d%2Fphp.gpg%20https%3A%2F%2Fpackages.sury.org%2Fphp%2Fapt.gpg%0A%0Ash%20-c%20’echo%20%22deb%20https%3A%2F%2Fpackages.sury.org%2Fphp%2F%20%24(lsb_release%20-sc)%20main%22%20%3E%20%2Fetc%2Fapt%2Fsources.list.d%2Fphp.list’%0A%0Aapt-get%20update%0A%0A%0A%0A » message= » » highlight= » » provider= »manual »/]

As a precision, the link for the lsb_release command man page, it is useful to get the name of your current distribution, try it on a terminal:

[pastacode lang= »bash » manual= »lsb_release%20-sc » message= » » highlight= » » provider= »manual »/]

In my case, I only want one PHP version, I don’t want to keep the 7.0, I just want have the 7.1 as default, to do that you need to install the new, remove the old without forgetting the apache module.

[pastacode lang= »bash » manual= »apt-get%20install%20php7.1%0Aapt-get%20remove%20php7.0%0A%0Aapt-get%20remove%20libapache2-mod-php7.0%0A » message= » » highlight= » » provider= »manual »/]

The php7.1 module is already installed as dependency of php7.1.

And if you need it you can do

[pastacode lang= »bash » manual= »dpkg-reconfigure%20libapache2-mod-php7.1″ message= » » highlight= » » provider= »manual »/]

Now you have php7.1 running 😉

You may want to clean more for production, but I do not cover this here, I do this on my dev env

 

Don’t miss 500 internal error anymore with symfony and monolog

Sometimes I read my server logs … Like some people read the newspaper, in fact server logs are like the app newspaper 🙂

Every morning I am reading my logwatch email.

But I can miss errors, and even if I see them, it is the next day in my logs email, and it is really BAD

The solution is simple, use monolog to send you errors directly

https://symfony.com/doc/current/logging/monolog_email.html

My configuration is (config_prod.yml):

[pastacode lang= »markup » manual= »monolog%3A%0A%20%20%20%20handlers%3A%0A%20%20%20%20%20%20%20%20main%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20%20%20stream%0A%20%20%20%20%20%20%20%20%20%20%20%20path%3A%20%20%20%22%25kernel.logs_dir%25%2F%25kernel.environment%25.log%22%0A%20%20%20%20%20%20%20%20%20%20%20%20level%3A%20%20error%0A%20%20%20%20%20%20%20%20mail%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20%20%20%20%20%20%20%20%20fingers_crossed%0A%20%20%20%20%20%20%20%20%20%20%20%20%23%20500%20errors%20are%20logged%20at%20the%20critical%20level%0A%20%20%20%20%20%20%20%20%20%20%20%20action_level%3A%20critical%0A%20%20%20%20%20%20%20%20%20%20%20%20%20handler%3A%20%20%20%20%20%20deduplicated%0A%20%20%20%20%20%20%20%20deduplicated%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20%20%20%20deduplication%0A%20%20%20%20%20%20%20%20%20%20%20%20handler%3A%20swift%0A%20%20%20%20%20%20%20%20swift%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20%20%20%20%20%20%20swift_mailer%0A%20%20%20%20%20%20%20%20%20%20%20%20from_email%3A%20’email%40myserv.myserv’%0A%20%20%20%20%20%20%20%20%20%20%20%20to_email%3A%20%20%20’mymorningemail%40myserv.myserv’%0A%20%20%20%20%20%20%20%20%20%20%20%20subject%3A%20%20%20%20’You%20have%20to%20work%20!%20An%20Error%20Occurred!%20%25%25message%25%25’%0A%20%20%20%20%20%20%20%20%20%20%20%20level%3A%20%20%20%20%20%20debug%0A%20%20%20%20%20%20%20%20%20%20%20%20formatter%3A%20%20monolog.formatter.html%0A%20%20%20%20%20%20%20%20%20%20%20%20content_type%3A%20text%2Fhtml » message= » » highlight= » » provider= »manual »/]