Skip to content

"Unable to create configured logger. Using emergency logger....NullHandler" error #150

Open
@shaifulborhan

Description

@shaifulborhan

Laravel 8.x
PHP 8.1.x
rollbar/rollbar-laravel v7.2.0

laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): NullHandler must be an instance of Monolog\\Handler\\HandlerInterface at /project/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:372)

My laravel.log file has been flooded with this error after updating PHP from 7.4.x to 8.1.x and rollbar/rollbar-laravel from 7.0.0 to 7.2.0.

I followed the installation here https://docs.rollbar.com/docs/laravel#laravel-6-through-9 but nothing needs to be updated as far as I am concerned because my Laravel version doesn't change.

Please advise.

Metadata

Metadata

Assignees

Labels

Type: QuestionRequest for information about a components operation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions