nova-logs icon indicating copy to clipboard operation
nova-logs copied to clipboard

Multiple log channels

Open bigperson opened this issue 6 years ago • 4 comments

Hi. Very lacking the ability to specify multiple channels for different services.

bigperson avatar Oct 03 '18 08:10 bigperson

Agree, asking for the same.

acubino avatar Aug 28 '19 14:08 acubino

Sorry for my late reply if u want to use multi channel change daily to stack .. u can see on documentation.

'stack' => [
    'driver' => 'stack',
    'name' => 'channel-name',
    'channels' => ['daily', 'slack'],
],

PHPJunior avatar Aug 28 '19 16:08 PHPJunior

Hi.

I changed my stack channel (in config/logging.php): 'stack' => [ 'driver' => 'stack', //'channels' => ['daily'], 'channels' => ['daily', 'slack'], 'ignore_exceptions' => false, ],

But i didn't see any change. The channel want to see is a custom channel where i save the user logging info. 'users' => [ 'driver' => 'daily', 'path' => storage_path('logs/users.log'), 'level' => 'info', 'days' => 180, ],

Also this channel use different path. Can see this using the tool?

acubino avatar Aug 28 '19 16:08 acubino

Any information on this @PHPJunior ?

What is being asked here, I think, is supporting multiple log-channels in your tool, currently it only works with the daily logchannel but support for extra log channels + filtering on them would be amazing!

ThaDaVos avatar May 06 '21 10:05 ThaDaVos