diff --git a/tests/Fixtures/fixture_config.json b/tests/Fixtures/fixture_config.json index 92fb0e9..34b2c73 100644 --- a/tests/Fixtures/fixture_config.json +++ b/tests/Fixtures/fixture_config.json @@ -3,33 +3,28 @@ "disable_existing_loggers": false, "formatters": { "simple": { + "class": "Monolog\\Formatter\\LineFormatter", "format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s" } }, "handlers": { "console": { - "class": "logging.StreamHandler", + "class": "Monolog\\Handler\\StreamHandler", "level": "DEBUG", "formatter": "simple", - "stream": "ext://sys.stdout" + "stream": "php://stdout" }, "info_file_handler": { - "class": "logging.handlers.RotatingFileHandler", + "class": "Monolog\\Handler\\StreamHandler", "level": "INFO", "formatter": "simple", - "filename": "info.log", - "maxBytes": 10485760, - "backupCount": 20, - "encoding": "utf8" + "stream": "./info.log" }, "error_file_handler": { - "class": "logging.handlers.RotatingFileHandler", + "class": "Monolog\\Handler\\StreamHandler", "level": "ERROR", "formatter": "simple", - "filename": "errors.log", - "maxBytes": 10485760, - "backupCount": 20, - "encoding": "utf8" + "stream": "./error.log" } }, "processors": { diff --git a/tests/Fixtures/fixture_config.php b/tests/Fixtures/fixture_config.php index e2aa4a7..3556ad8 100644 --- a/tests/Fixtures/fixture_config.php +++ b/tests/Fixtures/fixture_config.php @@ -15,8 +15,6 @@ 'spaced' => array( 'format' => "%datetime% %channel%.%level_name% %message%\n", 'include_stacktraces' => true - # dummy_option: "heyhey" - # date_format: "Y/m/d" ), 'dashed' => array( 'format' => "%datetime%-%channel%.%level_name% - %message%\n"