10 months ago

custom logging

Posted 10 months ago by giorg


in my .env I have:


and my config/logging.php starts with:

'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single'],
        'path' => storage_path('logs/set.log'),

    'single' => [
        'driver' => 'single',
        'path' => storage_path('logs/laravel.log'),
        'level' => 'debug',

I expected to log in my custom set.log, but when I use log functions all goes still to laravel.log...

What am I missing?

Thanks a lot

Please sign in or create an account to participate in this conversation.