Git Product home page Git Product logo

Comments (5)

gauravmak avatar gauravmak commented on June 26, 2024

The error is Call to undefined method Monolog\\Handler\\PsrHandler::pushProcessor()
Not sure what's happening there. It is related to Monolog. Which version of monolog do you have installed?

Also, try removing some channels and see if it helps.

from laravel-log-enhancer.

nathan-io avatar nathan-io commented on June 26, 2024

Hi,

We have Monolog 2.1.0.

Also, try removing some channels and see if it helps.

Not sure exactly what you mean here, or how that could be related... the number of logging channels we define shouldn't be the cause of this.

from laravel-log-enhancer.

nathan-io avatar nathan-io commented on June 26, 2024

Tried this in a fresh Laravel 7.19 instance.

The issue does seem to be related to having more than one logging channel. For instance, we get the exception with this:

    'channels' => [
        'stack' => [
            'driver' => 'stack',
            'tap' => [Freshbitsweb\LaravelLogEnhancer\LogEnhancer::class],
            'channels' => ['single','papertrail'],
            'ignore_exceptions' => false,
        ],

or,

            'channels' => ['single','bugsnag'],

This did work, though i'm not sure the enhanced/extra log data came through:

    'channels' => [
        'stack' => [
            'driver' => 'stack',
            'tap' => [Freshbitsweb\LaravelLogEnhancer\LogEnhancer::class],
            'channels' => ['single'],
            'ignore_exceptions' => false,
        ],

from laravel-log-enhancer.

gauravmak avatar gauravmak commented on June 26, 2024

Does it work if you try only papertrail or bugsnag channel?

from laravel-log-enhancer.

gauravmak avatar gauravmak commented on June 26, 2024

Close due to inactivity.

from laravel-log-enhancer.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.