ludo237
794
22
General

Advance Logging with Laravel and Monolog

Posted 4 years ago by ludo237

Hello everyone.

At the moment my only configuration on Logging events is Log::useDailyFiles(storage_path().'/logs/laravel_main.log');

But I think that I can do more than that. My main goal is to separate logging files for example for Log::info i'll use a file called laravel_info.log for Log::error I'll use a file called laravel_error.log etc.

How can I achieve this with the built-in logging functionality?

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

Reply to

Use Markdown with GitHub-flavored code blocks.