APIT-133 Added extraction of context to send to Monolog