Add appName parameter and replace Monolog formatter by Monolog handler