Changed the logging to monolog.